DebrisData

Engine/source/T3D/debris.h

More...

Public Types

enum
DebrisDataConst {  DDC_NUM_EMITTERS = 2
}
Parent 

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.

Public Static Functions

Detailed Description

Public Types

DebrisDataConst

Enumerator

DDC_NUM_EMITTERS = 2
typedef GameBaseData Parent 

Public Attributes

F32 baseRadius 
S32 bounceVariance 
F32 elasticity 
S32 emitterIDList [DDC_NUM_EMITTERS]
ParticleEmitterData * emitterList [DDC_NUM_EMITTERS]
bool explodeOnMaxBounce 
ExplosionData * explosion 
S32 explosionId 
bool fade 
F32 friction 
F32 gravModifier 
bool ignoreWater 
F32 lifetime 
F32 lifetimeVariance 
F32 maxSpinSpeed 
F32 minSpinSpeed 
S32 numBounces 
Resource< TSShape > shape 
const char * shapeName 
bool snapOnMaxBounce 
bool staticOnMaxBounce 
F32 terminalVelocity 
StringTableEntry textureName 
bool useRadiusMass 
F32 velocity 
F32 velocityVariance 

Public Functions

DebrisData()

DebrisData(const DebrisData & , bool )

~DebrisData()

allowSubstitutions()

Reimplemented from: SimObject

cloneAndPerformSubstitutions(const SimObject * , S32 index)

DECLARE_CONOBJECT(DebrisData )

onAdd()

Reimplemented from: SimDataBlock

onPerformSubstitutions()

Reimplemented from: SimDataBlock

packData(BitStream * stream)

Reimplemented from: SimDataBlock

preload(bool server, String & errorStr)

Reimplemented from: SimDataBlock

unpackData(BitStream * stream)

Reimplemented from: SimDataBlock

Public Static Functions

initPersistFields()