afxMooring
Engine/source/afx/ce/afxMooring.h
Protected Types
enum
MaskBits { PositionMask = Parent::NextFreeMask NextFreeMask = Parent::NextFreeMask << 1 }
Private Types
Parent
Private Attributes
Private Functions
Public Functions
afxMooring(U32 networking, U32 chor_id, StringTableEntry cons_name)
advanceTime(F32 dt)
Advances simulation time for animations.
DECLARE_CATEGORY("AFX" )
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.
prepRenderImage(SceneRenderState * state)
Called when the SceneManager is ready for the registration of render instances.
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.
Detailed Description
Protected Types
MaskBits
Enumerator
- PositionMask = Parent::NextFreeMask
- NextFreeMask = Parent::NextFreeMask << 1
Private Types
typedef GameBase Parent
Private Attributes
GFXStateBlockRef axis_sb
U32 chor_id
StringTableEntry ghost_cons_name
bool hookup_with_chor
afxMooringData * mDataBlock
Private Functions
_renderAxisLines(ObjectRenderInst * , SceneRenderState * , BaseMatInstance * )
Public Functions
afxMooring()
afxMooring(U32 networking, U32 chor_id, StringTableEntry cons_name)
~afxMooring()
advanceTime(F32 dt)
Reimplemented from: ProcessObject
DECLARE_CATEGORY("AFX" )
DECLARE_CONOBJECT(afxMooring )
onAdd()
Reimplemented from: SceneObject
onNewDataBlock(GameBaseData * dptr, bool reload)
Reimplemented from: GameBase
onRemove()
Reimplemented from: SceneObject
packUpdate(NetConnection * conn, U32 mask, BitStream * stream)
Reimplemented from: SceneObject
prepRenderImage(SceneRenderState * state)
Reimplemented from: SceneObject
setTransform(const MatrixF & mat)
Reimplemented from: SceneObject
unpackUpdate(NetConnection * conn, BitStream * stream)
Reimplemented from: SceneObject