afxMooring

Engine/source/afx/ce/afxMooring.h

afxEffectDefsSee documentation for afxEffectDefsSimGroupSee documentation for SimGroupEngineObjectSee documentation for EngineObjectStrongRefBaseSee documentation for StrongRefBaseSceneContainer__LinkSee documentation for SceneContainer__LinkProcessObjectSee documentation for ProcessObjectSimObjectSee documentation for SimObjectConsoleObjectSee documentation for ConsoleObjectWeakRefBaseSee documentation for WeakRefBaseafxMooringSee documentation for afxMooringSceneObjectSee documentation for SceneObjectSimSetSee documentation for SimSetTamlCallbacksSee documentation for TamlCallbacksGameBaseSee documentation for GameBaseNetObjectSee documentation for NetObjectTamlChildrenSee documentation for TamlChildren

More...

Protected Types

enum
MaskBits {
  PositionMask = Parent::NextFreeMask
  NextFreeMask = Parent::NextFreeMask << 1
}

Private Types

Parent 

Public Functions

afxMooring(U32 networking, U32 chor_id, StringTableEntry cons_name)

Advances simulation time for animations.

bool

Called when the object is added to the sim.

bool
onNewDataBlock(GameBaseData * dptr, bool reload)

Called when a new datablock is set.

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.

Called when the SceneManager is ready for the registration of render instances.

Sets the Object -> World transform.

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