ParticleData

Engine/source/T3D/fx/particle.h

More...

Public Types

enum
PDConst {  PDC_NUM_KEYS = 8
}

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)
bool
reload(String & errorStr)

Detailed Description

Public Types

PDConst

Enumerator

PDC_NUM_KEYS = 8

Private Types

typedef SimDataBlock Parent 

Public Attributes

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

Protected Attributes

bool randomizeSpinDir 
F32 spinBias 
StringTableEntry textureExtName 

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(const ParticleData & , bool )

~ParticleData()

allowSubstitutions()

Reimplemented from: SimObject

DECLARE_CONOBJECT(ParticleData )

initializeParticle(Particle * , const Point3F & )

loadParameters()

onAdd()

Reimplemented from: SimDataBlock

onPerformSubstitutions()

Reimplemented from: SimDataBlock

packData(BitStream * stream)

Reimplemented from: SimDataBlock

preload(bool server, String & errorStr)

Reimplemented from: SimDataBlock

reload(char errorBuffer)

reload(String & errorStr)

unpackData(BitStream * stream)

Reimplemented from: SimDataBlock