StaticShape
Engine/source/T3D/staticShape.h
Protected Types
enum
MaskBits { PositionMask = Parent::NextFreeMask NextFreeMask = Parent::NextFreeMask << 1 }
Private Types
Parent
Private Attributes
bool
Private Functions
onUnmount(SceneObject * obj, S32 node)
Callback when this object is unmounted.
Public Functions
interpolateTick(F32 delta)
Interpolates between tick events.
bool
bool
onAdd()
Called when the object is added to the sim.
bool
onNewDataBlock(GameBaseData * dptr, bool reload)
Called when a new datablock is set.
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.
setPowered(bool power)
setTransform(const MatrixF & mat)
Sets the Object -> World transform.
unpackUpdate(NetConnection * conn, BitStream * stream)
Instructs this object to read state data previously packed with packUpdate.
Public Static Functions
Detailed Description
Protected Types
MaskBits
Enumerator
- PositionMask = Parent::NextFreeMask
- NextFreeMask = Parent::NextFreeMask << 1
Private Types
typedef ShapeBase Parent
Private Attributes
StaticShapeData * mDataBlock
bool mPowered
Private Functions
onUnmount(SceneObject * obj, S32 node)
Reimplemented from: ShapeBase
Public Functions
StaticShape()
~StaticShape()
DECLARE_CONOBJECT(StaticShape )
interpolateTick(F32 delta)
Reimplemented from: GameBase
isPowered()
onAdd()
Reimplemented from: ShapeBase
onNewDataBlock(GameBaseData * dptr, bool reload)
Reimplemented from: ShapeBase
onRemove()
Reimplemented from: ShapeBase
packUpdate(NetConnection * conn, U32 mask, BitStream * stream)
Reimplemented from: ShapeBase
processTick(const Move * move)
Reimplemented from: ShapeBase
setPowered(bool power)
setTransform(const MatrixF & mat)
Reimplemented from: ShapeBase
unpackUpdate(NetConnection * conn, BitStream * stream)
Reimplemented from: ShapeBase