SplashData

Engine/source/T3D/fx/splash.h

More...

Public Types

enum
Constants {
  NUM_EMITTERS = 3
  NUM_TIME_KEYS = 4
  NUM_TEX = 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

Constants

Enumerator

NUM_EMITTERS = 3
NUM_TIME_KEYS = 4
NUM_TEX = 2
typedef GameBaseData Parent 

Public Attributes

F32 acceleration 
LinearColorF colors [NUM_TIME_KEYS]
S32 delayMS 
S32 delayVariance 
F32 ejectionAngle 
F32 ejectionFreq 
S32 emitterIDList [NUM_EMITTERS]
ParticleEmitterData * emitterList [NUM_EMITTERS]
ExplosionData * explosion 
S32 explosionId 
F32 height 
S32 lifetimeMS 
S32 lifetimeVariance 
U32 numSegments 
F32 ringLifetime 
Point3F scale 
AudioProfile * soundProfile 
S32 soundProfileId 
F32 startRadius 
F32 texFactor 
GFXTexHandle textureHandle [NUM_TEX]
StringTableEntry textureName [NUM_TEX]
F32 texWrap 
F32 times [NUM_TIME_KEYS]
F32 velocity 
F32 width 

Public Functions

SplashData()

DECLARE_CONOBJECT(SplashData )

onAdd()

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()