Torque3D Documentation / _generateds / PrecipitationData

PrecipitationData

Engine/source/T3D/fx/precipitation.h

Precipitation datablock.

More...

Private Types

Parent 

Public Attributes

Texture filename for drop particles.

The name of the shader used for raindrops.

How many drops are on a side of the raindrop texture.

How many splash are on a side of the splash texture.

Texture filename for splash particles.

The name of the shader used for raindrops.

Public Functions

bool
preload(bool server, String & errorStr)

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

Public Static Functions

Detailed Description

Precipitation datablock.

Private Types

typedef GameBaseData Parent 

Public Attributes

StringTableEntry mDropName 

Texture filename for drop particles.

StringTableEntry mDropShaderName 

The name of the shader used for raindrops.

S32 mDropsPerSide 

How many drops are on a side of the raindrop texture.

S32 mSplashesPerSide 

How many splash are on a side of the splash texture.

StringTableEntry mSplashName 

Texture filename for splash particles.

StringTableEntry mSplashShaderName 

The name of the shader used for raindrops.

SFXTrack * soundProfile 

Public Functions

PrecipitationData()

DECLARE_CONOBJECT(PrecipitationData )

packData(BitStream * stream)

Reimplemented from: SimDataBlock

preload(bool server, String & errorStr)

Reimplemented from: SimDataBlock

unpackData(BitStream * stream)

Reimplemented from: SimDataBlock

Public Static Functions

initPersistFields()