VActor
Engine/source/Verve/VActor/VActor.h
Public Types
eEventType { k_MountEvent k_UnmountEvent }
eMaskBits { MoveMask = Parent::NextFreeMask << 0 PhysicsMask = ( MoveMask ) NextFreeMask = Parent::NextFreeMask << 1 }
Signal< void(const eEventType &)>
tEventSignal
Private Types
Parent
Protected Attributes
Public Functions
Get Animation Controller.
Get Physics Controller.
onMount(SceneObject * pObject, S32 pNode)
On Mount.
bool
onNewDataBlock(GameBaseData * dptr, bool reload)
Called when a new datablock is set.
onUnmount(SceneObject * pObject, S32 pNode)
On Unmount.
packUpdate(NetConnection * conn, U32 mask, BitStream * stream)
Instructs this object to pack its state for transfer over the network.
processTick(const Move * move)
Processes a move event and updates object state once every 32 milliseconds.
setTransform(const MatrixF & pMatrix)
Set Transform.
unpackUpdate(NetConnection * conn, BitStream * stream)
Instructs this object to read state data previously packed with packUpdate.
Detailed Description
Public Types
eEventType
Enumerator
- k_MountEvent
- k_UnmountEvent
eMaskBits
Enumerator
- MoveMask = Parent::NextFreeMask << 0
- PhysicsMask = ( MoveMask )
- NextFreeMask = Parent::NextFreeMask << 1
typedef Signal< void(const eEventType &)> tEventSignal
Private Types
typedef ShapeBase Parent
Protected Attributes
VActorData * mDataBlock
tEventSignal mEventSignal
Public Functions
VActor(void )
~VActor(void )
DECLARE_CONOBJECT(VActor )
getAnimationController(void )
Get Animation Controller.
Reimplemented by: VHumanoidActor
getDataBlock(void )
getEventSignal(void )
getPhysicsController(void )
Get Physics Controller.
Reimplemented by: VHumanoidActor
onAdd(void )
Reimplemented from: ShapeBase
onMount(SceneObject * pObject, S32 pNode)
Reimplemented from: ShapeBase
onNewDataBlock(GameBaseData * dptr, bool reload)
Reimplemented from: ShapeBase
onRemove(void )
Reimplemented from: ShapeBase
onUnmount(SceneObject * pObject, S32 pNode)
Reimplemented from: ShapeBase
packUpdate(NetConnection * conn, U32 mask, BitStream * stream)
Reimplemented from: ShapeBase
Reimplemented by: VHumanoidActor
processTick(const Move * move)
Reimplemented from: ShapeBase
Reimplemented by: VHumanoidActor
setTransform(const MatrixF & pMatrix)
Reimplemented from: ShapeBase
unpackUpdate(NetConnection * conn, BitStream * stream)
Reimplemented from: ShapeBase
Reimplemented by: VHumanoidActor