Torque3D Documentation / _generateds / afxMagicMissile

afxMagicMissile

Engine/source/afx/afxMagicMissile.h

More...

Public Types

enum
UpdateMasks {
  GuideMask = Parent::NextFreeMask << 0
  LaunchMask = Parent::NextFreeMask << 1
  ImpactMask = Parent::NextFreeMask << 2
  NextFreeMask = Parent::NextFreeMask << 3
}

Private Types

Parent 

Protected Functions

Interpolates between tick events.

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.

bool

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

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

submitLights(LightManager * lm, bool staticLighting)

Submit lights to the light manager passed in.

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

Private Functions

Public Static Functions

Detailed Description

Public Types

UpdateMasks

Enumerator

GuideMask = Parent::NextFreeMask << 0
LaunchMask = Parent::NextFreeMask << 1
ImpactMask = Parent::NextFreeMask << 2
NextFreeMask = Parent::NextFreeMask << 3

Private Types

typedef GameBase Parent 

Protected Attributes

afxChoreographer * choreographer 
bool client_only 
SceneObject * collide_exempt 
U32 collision_mask 
bool did_impact 
bool did_launch 
bool hover_attack_go 
U32 hover_attack_tick 
Point3F mCurrBackDelta 
Point3F mCurrDeltaBase 
Point3F mCurrPosition 
U32 mCurrTick 

Current time in ticks.

Point3F mCurrVelocity 
afxMagicMissileData * mDataBlock 
SceneObject * missile_target 
LightInfo * mLight 
LightState mLightState 
ParticleEmitter * mParticleEmitter 
ParticleEmitter * mParticleWaterEmitter 
PhysicsWorld * mPhysicsWorld 
TSShapeInstance * mProjectileShape 
SFXSource * mSound 
F32 prec_inc 
bool server_only 
S32 ss_index 
SimObject * ss_object 
Point3F starting_vel_vec 
F32 starting_velocity 
bool use_accel 

Protected Functions

emitParticles(const Point3F & , const Point3F & , const Point3F & , const U32)

getLight()

Reimplemented from: ISceneLight

interpolateTick(F32 delta)

Reimplemented from: ProcessObject

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

pointInWater(const Point3F & point)

prepBatchRender(SceneRenderState * state)

prepRenderImage(SceneRenderState * state)

Reimplemented from: SceneObject

processTick(const Move * move)

Reimplemented from: ProcessObject

submitLights(LightManager * lm, bool staticLighting)

Reimplemented from: ISceneLight

unpackUpdate(NetConnection * conn, BitStream * stream)

Reimplemented from: SceneObject

updateSound()