Torque3D Documentation / _generateds / ParticleEmitterNode

ParticleEmitterNode

Engine/source/T3D/fx/particleEmitterNode.h

More...

Private Types

enum
MaskBits {
  StateMask = Parent::NextFreeMask << 0
  EmitterDBMask = Parent::NextFreeMask << 1
  NextFreeMask = Parent::NextFreeMask << 2
}
Parent 

Private Attributes

Protected Functions

Called after any property of the object is changed in the world editor.

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.

Public Functions

Advances simulation time for animations.

bool
packUpdate(NetConnection * conn, U32 mask, BitStream * stream)

Instructs this object to pack its state for transfer over the network.

Processes a move event and updates object state once every 32 milliseconds.

setActive(bool active)

Instructs this object to read state data previously packed with packUpdate.

Public Static Functions

Detailed Description

Private Types

MaskBits

Enumerator

StateMask = Parent::NextFreeMask << 0
EmitterDBMask = Parent::NextFreeMask << 1
NextFreeMask = Parent::NextFreeMask << 2
typedef GameBase Parent 

Private Attributes

ParticleEmitterNodeData * mDataBlock 

Protected Attributes

bool mActive 
SimObjectPtr< ParticleEmitter > mEmitter 
ParticleEmitterData * mEmitterDatablock 
S32 mEmitterDatablockId 
F32 mVelocity 

Protected Functions

inspectPostApply()

Reimplemented from: SceneObject

onAdd()

Reimplemented from: SceneObject

onNewDataBlock(GameBaseData * dptr, bool reload)

Reimplemented from: GameBase

onRemove()

Reimplemented from: SceneObject

Public Functions

ParticleEmitterNode()

~ParticleEmitterNode()

advanceTime(F32 dt)

Reimplemented from: ProcessObject

DECLARE_CONOBJECT(ParticleEmitterNode )

getActive(void )

getParticleEmitter()

packUpdate(NetConnection * conn, U32 mask, BitStream * stream)

Reimplemented from: SceneObject

processTick(const Move * move)

Reimplemented from: ProcessObject

setActive(bool active)

setEmitterDataBlock(ParticleEmitterData * data)

unpackUpdate(NetConnection * conn, BitStream * stream)

Reimplemented from: SceneObject

Public Static Functions

initPersistFields()