Main   Class List   Namespace List   Wiki

PrecipitationData Class Reference
[Special EffectsAtmosphere]

Defines the droplets used in a storm (IE: raindrops, snowflakes, etc.). More...

Inheritance diagram for PrecipitationData:
Inheritance graph
[legend]

List of all members.

Public Attributes

string dropShader
 The name of the shader used for raindrops.
int dropsPerSide
 How many drops are on a side of the raindrop texture.
filename dropTexture
 Texture filename for drop particles.
SFXTrack soundProfile
 SFXProfile effect to play.
int splashesPerSide
 How many splash are on a side of the splash texture.
string splashShader
 The name of the shader used for raindrops.
filename splashTexture
 Texture filename for splash particles.

Detailed Description

Defines the droplets used in a storm (IE: raindrops, snowflakes, etc.).

Example:
datablock PrecipitationData(HeavyRain)
{
   soundProfile = "HeavyRainSound";

   dropTexture = "art/environment/precipitation/rain";
   splashTexture = "art/environment/precipitation/water_splash";
   dropSize = 0.35;
   splashSize = 0.1;
   useTrueBillboards = false;
   splashMS = 500;
};

Member Data Documentation

The name of the shader used for raindrops.

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

Texture filename for drop particles.

SFXProfile effect to play.

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

The name of the shader used for raindrops.

Texture filename for splash particles.



Copyright © GarageGames, LLC. All Rights Reserved.