View source for Script/WeatherReference
Jump to: navigation, search
You do not have permission to edit this page, for the following reason:
The action you have requested is limited to users in the group: Users.
You can view and copy the source of this page.
Return to Script/WeatherReference.
class WeatherReference
A script which handles the weather.
Class Methods
float | GetWorldTime () const |
get the absolute time in seconds that has passed since the level has started | |
void | RestoreDefaultWeather () |
restore weather settings to default | |
float | GetShadowStrength () const |
get current shadow strength | |
float | GetDefaultShadowStrength () const |
get default shadow strength | |
void | SetShadowStrength (const float _fValue) |
set shadow strength | |
float | GetRoughness () const |
get current roughness | |
float | GetDefaultRoughness () const |
get default roughness | |
void | SetRoughness (const float _fValue) |
set roughness | |
float | GetViewDependentRoughness () const |
get current view dependent roughness | |
float | GetDefaultViewDependentRoughness () const |
get default view dependent roughness | |
void | SetViewDependentRoughness (const float _fValue) |
set view dependent roughness | |
float | GetCloudScale () const |
get current cloud scale | |
float | GetDefaultCloudScale () const |
get default cloud scale | |
void | SetCloudScale (const float _fValue) |
set cloud scale | |
float | GetCloudDensity () const |
get current cloud density | |
float | GetDefaultCloudDensity () const |
get default cloud density | |
void | SetCloudDensity (const float _fValue) |
set cloud scale | |
float | GetCloudStrength () const |
get current cloud strength | |
float | GetDefaultCloudStrength () const |
get default cloud strength | |
void | SetCloudStrength (const float _fValue) |
set cloud strength | |
void | GetCloudLayerSpeedA (float&out _fOutX, float&out _fOutZ) const |
get current cloud speed for layer A | |
void | GetDefaultCloudLayerSpeedA (float&out _fOutX, float&out _fOutZ) const |
get default cloud speed for layer A | |
void | SetCloudLayerSpeedA (const float _fX, const float _fZ) |
set cloud speed for layer A | |
void | GetCloudLayerSpeedB (float&out _fOutX, float&out _fOutZ) const |
get current cloud speed for layer B | |
void | GetDefaultCloudLayerSpeedB (float&out _fOutX, float&out _fOutZ) const |
get default cloud speed for layer B | |
void | SetCloudLayerSpeedB (const float _fX, const float _fZ) |
set cloud speed for layer B | |
bool | IsRainEnabled () const |
is rain currently enabled? | |
bool | IsRainEnabledByDefault () const |
is rain enabled by default? | |
void | EnableRain (const bool _bEnabled) |
enable or disable rain | |
float | GetRainIntensity () const |
get current rain intensity | |
float | GetDefaultRainIntensity () const |
get default rain intensity | |
void | SetRainIntensity (const float _fValue) |
set rain intensity |