DebrisData
Public Attributes
Public Functions
DebrisData(const DebrisData & , bool )
bool
cloneAndPerformSubstitutions(const SimObject * , S32 index)
bool
onAdd()
Called when the object is added to the sim.
bool
unpackData(BitStream * stream)
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