Torque3D Documentation / _generateds / TriggerComponent

TriggerComponent

Engine/source/T3D/components/game/triggerComponent.h

More...

Private Types

Parent 

Public Functions

addClient(S32 clientID)
DECLARE_CALLBACK(void , onEnterViewCmd , (Entity *cameraEnt, bool firstTimeSeeing) )
DECLARE_CALLBACK(void , onExitViewCmd , (Entity *cameraEnt) )
DECLARE_CALLBACK(void , onUpdateInViewCmd , (Entity *cameraEnt) )
DECLARE_CALLBACK(void , onUpdateOutOfViewCmd , (Entity *cameraEnt) )
bool

Called when the object is added to the sim.

Called when the object is removed from the sim.

packUpdate(NetConnection * conn, U32 mask, BitStream * stream)

Instructs this object to pack its state for transfer over the network.

removeClient(S32 clientID)
bool

Instructs this object to read state data previously packed with packUpdate.

visualizeFrustums(F32 renderTimeMS)

Public Static Functions

Detailed Description

Private Types

typedef Component Parent 

Protected Attributes

String mEnterCommand 
Vector< SceneObject * > mObjectList 
String mOnExitCommand 
String mOnUpdateInViewCmd 
bool mVisible 

Public Functions

TriggerComponent()

~TriggerComponent()

addClient(S32 clientID)

componentAddedToOwner(Component * comp)

Reimplemented from: Component

componentRemovedFromOwner(Component * comp)

Reimplemented from: Component

DECLARE_CALLBACK(void , onEnterViewCmd , (Entity *cameraEnt, bool firstTimeSeeing) )

DECLARE_CALLBACK(void , onExitViewCmd , (Entity *cameraEnt) )

DECLARE_CALLBACK(void , onUpdateInViewCmd , (Entity *cameraEnt) )

DECLARE_CALLBACK(void , onUpdateOutOfViewCmd , (Entity *cameraEnt) )

DECLARE_CONOBJECT(TriggerComponent )

getConnection(S32 connectionID)

onAdd()

Reimplemented from: Component

onComponentAdd()

Reimplemented from: Component

onComponentRemove()

Reimplemented from: Component

onRemove()

Reimplemented from: Component

packUpdate(NetConnection * conn, U32 mask, BitStream * stream)

Reimplemented from: Component

potentialEnterObject(SceneObject * collider)

processTick()

Reimplemented from: Component

removeClient(S32 clientID)

testObject(SceneObject * enter)

unpackUpdate(NetConnection * conn, BitStream * stream)

Reimplemented from: Component

visualizeFrustums(F32 renderTimeMS)

Public Static Functions

initPersistFields()