Component
Inherits from EntityBusPeer
Summary
Constructors
Properties
Methods
Static members
Constructors
Component
Component(other: EntityBusPeer)
Parameters
Properties
componentData
DataContainer
localBoundingBox
AxisAlignedBox | nil
Methods
SetTransform(transform: LinearTransform)
Parameters
RegisterDeinitCallback
RegisterDeinitCallback(callback: callable): int
Parameters
Name |
Type |
Description |
callback |
callable |
A callback in the form function(component: Component): bool . |
Returns
RegisterDeinitCallback
RegisterDeinitCallback(context: any, callback: callable): int
Parameters
Name |
Type |
Description |
context |
any |
A context value to pass to the callback. |
callback |
callable |
A callback in the form function(context: any, component: Component): bool . |
Returns
UnregisterDeinitCallback
UnregisterDeinitCallback(handle: int)
Parameters
Name |
Type |
Description |
handle |
int |
|
RegisterSpawnCallback
RegisterSpawnCallback(callback: callable): int
Parameters
Name |
Type |
Description |
callback |
callable |
A callback in the form function(component: Component): bool . |
Returns
RegisterSpawnCallback
RegisterSpawnCallback(context: any, callback: callable): int
Parameters
Name |
Type |
Description |
context |
any |
A context value to pass to the callback. |
callback |
callable |
A callback in the form function(context: any, component: Component): bool . |
Returns
UnregisterSpawnCallback
UnregisterSpawnCallback(handle: int)
Parameters
Name |
Type |
Description |
handle |
int |
|
RegisterUnSpawnCallback
RegisterUnSpawnCallback(callback: callable): int
Parameters
Name |
Type |
Description |
callback |
callable |
A callback in the form function(component: Component): bool . |
Returns
RegisterUnSpawnCallback
RegisterUnSpawnCallback(context: any, callback: callable): int
Parameters
Name |
Type |
Description |
context |
any |
A context value to pass to the callback. |
callback |
callable |
A callback in the form function(context: any, component: Component): bool . |
Returns
UnregisterUnSpawnCallback
UnregisterUnSpawnCallback(handle: int)
Parameters
Name |
Type |
Description |
handle |
int |
|
RegisterImpulseCallback
RegisterImpulseCallback(callback: callable): int
Parameters
Name |
Type |
Description |
callback |
callable |
A callback in the form function(component: Component, data: ImpulseData | null): bool . |
Returns
RegisterImpulseCallback
RegisterImpulseCallback(context: any, callback: callable): int
Parameters
Name |
Type |
Description |
context |
any |
A context value to pass to the callback. |
callback |
callable |
A callback in the form function(context: any, component: Component, data: ImpulseData | null): bool . |
Returns
UnregisterImpulseCallback
UnregisterImpulseCallback(handle: int)
Parameters
Name |
Type |
Description |
handle |
int |
|
RegisterComponentMessageCallback
RegisterComponentMessageCallback(callback: callable): int
Parameters
Name |
Type |
Description |
callback |
callable |
A callback in the form function(component: Component, message: Message): bool . |
Returns
RegisterComponentMessageCallback
RegisterComponentMessageCallback(context: any, callback: callable): int
Parameters
Name |
Type |
Description |
context |
any |
A context value to pass to the callback. |
callback |
callable |
A callback in the form function(context: any, component: Component, message: Message): bool . |
Returns
UnregisterComponentMessageCallback
UnregisterComponentMessageCallback(handle: int)
Parameters
Name |
Type |
Description |
handle |
int |
|
Static members
typeInfo
TypeInformation