BlueSkies for Unity  1.8.1
BlueSkies.PrecipitationManager Class Reference

Controls all forms of Precipitation currently running. More...

Inheritance diagram for BlueSkies.PrecipitationManager:
BlueSkies.IPrecipitationManager

Public Member Functions

void setPrecipitationIntensity (float intensity)
 
void setUnderCloud (bool underCloud)
 
void hasPrecipitation (bool hasPrecipitation)
 
void setPrecipitationType (PRECIPITATION_TYPE type)
 
void allowPrecipitationFog (bool allowPrecipitationFog)
 
void update ()
 

Public Attributes

bool _hasPrecipitation = true
 
bool _allowPrecipitationFog = true
 
float _precipitationIntensity = 0.0f
 

Detailed Description

Controls all forms of Precipitation currently running.

Member Function Documentation

void BlueSkies.PrecipitationManager.allowPrecipitationFog ( bool  allowPrecipitationFog)

Sets the bool if precipitation fog is allowed.

Parameters
[in]allowPrecipitationFogbool

Implements BlueSkies.IPrecipitationManager.

void BlueSkies.PrecipitationManager.hasPrecipitation ( bool  hasPrecipitation)

Sets the bool if has precipitation

Parameters
[in]hasPrecipitationbool

Implements BlueSkies.IPrecipitationManager.

void BlueSkies.PrecipitationManager.setPrecipitationIntensity ( float  intensity)

Sets the precipitation intensity

Parameters
[in]intensityfloat that sets intensity max is 30 min is 0

Implements BlueSkies.IPrecipitationManager.

void BlueSkies.PrecipitationManager.setPrecipitationType ( PRECIPITATION_TYPE  type)

Sets the type of precipitation

Parameters
[in]typePRECIPITATION_TYPE

Implements BlueSkies.IPrecipitationManager.

void BlueSkies.PrecipitationManager.setUnderCloud ( bool  underCloud)

Sets the bool if under a cloud

Parameters
[in]underCloud

Implements BlueSkies.IPrecipitationManager.

void BlueSkies.PrecipitationManager.update ( )

Updates all precipitation elements

Implements BlueSkies.IPrecipitationManager.


The documentation for this class was generated from the following file: