TriggerComponent
Engine/source/T3D/components/game/triggerComponent.h
Private Types
Parent
Protected Attributes
Public Functions
componentAddedToOwner(Component * comp)
componentRemovedFromOwner(Component * comp)
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) )
getConnection(S32 connectionID)
bool
onAdd()
Called when the object is added to the sim.
packUpdate(NetConnection * conn, U32 mask, BitStream * stream)
Instructs this object to pack its state for transfer over the network.
potentialEnterObject(SceneObject * collider)
removeClient(S32 clientID)
bool
testObject(SceneObject * enter)
unpackUpdate(NetConnection * conn, BitStream * stream)
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)
