afxParticleEmitter
Engine/source/afx/ce/afxParticleEmitter.h
Private Types
Parent
Private Attributes
Protected Attributes
Protected Functions
Public Functions
bool
onAdd()
Called when the object is added to the sim.
bool
onNewDataBlock(GameBaseData * dptr, bool reload)
Called when a new datablock is set.
setAFXOwner(const SimObject * owner)
Detailed Description
Private Types
typedef ParticleEmitter Parent
Private Attributes
afxParticleEmitterData * mDataBlock
Protected Attributes
const SimObject * afx_owner
U32 n_tpath_points
Point3F pe_vector
Point3F pe_vector_norm
Vector< F32 > tpath_mults
Point3F ** tpath_points
Vector< afxPath3D * > tpaths
Protected Functions
afx_emitParticles(const Point3F & point, const bool useLastPosition, const Point3F & velocity, const U32 numMilliseconds)
afx_emitParticles(const Point3F & start, const Point3F & end, const Point3F & velocity, const U32 numMilliseconds)
alloc_particle()
cleanup_paths()
init_paths()
pick_particle_type()
preCompute(const MatrixF & mat)
sub_addParticle(const Point3F & pos, const Point3F & vel, const U32 age_offset, S32 part_idx)
Reimplemented by: afxParticleEmitterVector, afxParticleEmitterCone, afxParticleEmitterPath, afxParticleEmitterDisc
sub_particleUpdate(Particle * )
Reimplemented from: ParticleEmitter
sub_preCompute(const MatrixF & mat)
Reimplemented by: afxParticleEmitterVector, afxParticleEmitterCone, afxParticleEmitterPath, afxParticleEmitterDisc
Public Functions
afxParticleEmitter()
~afxParticleEmitter()
emitParticlesExt(const MatrixF & xfm, const Point3F & point, const Point3F & velocity, const U32 numMilliseconds)
Reimplemented from: ParticleEmitter
getDataBlock()
onAdd()
Reimplemented from: SceneObject
Reimplemented by: afxParticleEmitterPath
onNewDataBlock(GameBaseData * dptr, bool reload)
Reimplemented from: GameBase
Reimplemented by: afxParticleEmitterVector, afxParticleEmitterCone, afxParticleEmitterPath, afxParticleEmitterDisc
onRemove()
Reimplemented from: SceneObject
Reimplemented by: afxParticleEmitterPath
setAFXOwner(const SimObject * owner)