ParticleData

Engine/source/T3D/fx/particle.h

More...

Public Types

enum
PDConst {  PDC_NUM_KEYS = 4
}

Private Types

Parent 

Public Static Functions

bool
protectedSetSizes(void * object, const char * index, const char * data)
bool
protectedSetTimes(void * object, const char * index, const char * data)

Public Functions

bool

Called when the object is added to the sim.

bool
preload(bool server, String & errorStr)

Called to prepare the datablock for use, after it has been unpacked.

bool
reload(char errorBuffer)

Detailed Description

Public Types

PDConst

Enumerator

PDC_NUM_KEYS = 4

Private Types

typedef SimDataBlock Parent 

Public Attributes

bool animateTexture 
Vector< U8 > animTexFrames 
StringTableEntry animTexFramesString 
Point2I animTexTiling 
Point2F * animTexUVs 
ColorF colors [PDC_NUM_KEYS]
F32 constantAcceleration 
F32 dragCoefficient 
U32 framesPerSec 
F32 gravityCoefficient 
F32 inheritedVelFactor 
S32 lifetimeMS 
S32 lifetimeVarianceMS 
U32 numFrames 
F32 sizes [PDC_NUM_KEYS]
F32 spinRandomMax 
F32 spinRandomMin 
F32 spinSpeed 
Point2F texCoords [4]
GFXTexHandle textureHandle 
StringTableEntry textureName 
F32 times [PDC_NUM_KEYS]
bool useInvAlpha 
F32 windCoefficient 

Public Static Functions

initPersistFields()

protectedSetSizes(void * object, const char * index, const char * data)

protectedSetTimes(void * object, const char * index, const char * data)

Public Functions

ParticleData()

~ParticleData()

DECLARE_CONOBJECT(ParticleData )

initializeParticle(Particle * , const Point3F & )

onAdd()

Reimplemented from: SimDataBlock

packData(BitStream * stream)

Reimplemented from: SimDataBlock

preload(bool server, String & errorStr)

Reimplemented from: SimDataBlock

reload(char errorBuffer)

unpackData(BitStream * stream)

Reimplemented from: SimDataBlock