|
void | Weather () |
|
void | ~Weather () |
|
proto native float | GetTime () |
| Returns actual time from start of a server (how many seconds elapsed from server start).
|
|
proto native Overcast | GetOvercast () |
| Returns an overcast phenomenon object.
|
|
proto native Fog | GetFog () |
| Returns a fog phenomenon object.
|
|
proto native Rain | GetRain () |
| Returns a rain phenomenon object.
|
|
proto native Snowfall | GetSnowfall () |
| Returns a snowfall phenomenon object.
|
|
proto native WindDirection | GetWindDirection () |
| Returns a wind direction phenomenon object.
|
|
proto native WindMagnitude | GetWindMagnitude () |
| Returns a wind magnitude phenomenon object.
|
|
proto native void | SetStorm (float density, float threshold, float timeOut) |
| Sets the thunderstorm properties.
|
|
proto native void | SuppressLightningSimulation (bool state) |
| enables/disables thunderbolt simulation on client (together with sounds)
|
|
proto native vector | GetWind () |
| Returns wind vector (direction and speed as length of the vector).
|
|
proto native void | SetWind (vector wind) |
| Sets the wind vector (direction and speed as length of the vector).
|
|
proto native float | GetWindSpeed () |
| Returns actual wind speed in metre per second.
|
|
proto native void | SetWindSpeed (float speed) |
| Sets the actual wind speed in metre per second.
|
|
proto native float | GetWindMaximumSpeed () |
| Returns maximal wind speed in metre per second.
|
|
proto native void | SetWindMaximumSpeed (float maxSpeed) |
| Sets the maximal wind speed in metre per second. Equivalent to setting WindMagnitude phenomenon(s) value upper limit.
|
|
proto void | GetWindFunctionParams (out float fnMin, out float fnMax, out float fnSpeed) |
| Reads function parameters that controls the wind behaviour (change in time).
|
|
proto native void | SetWindFunctionParams (float fnMin, float fnMax, float fnSpeed) |
| Sets function parameters that controls the wind behaviour (change in time).
|
|
proto native void | SetRainThresholds (float tMin, float tMax, float tTime) |
| Sets overcast threshold values for rain phenomena.
|
|
proto native void | SetSnowfallThresholds (float tMin, float tMax, float tTime) |
| Sets overcast threshold values for snowfall phenomena.
|
|
proto native void | SetSnowflakeScale (float scale) |
| Sets the overall scale of snowflakes during snowfall phenomenon. This value is not synchronized and should be set by deterministic means.
|
|
proto native float | GetSnowflakeScale () |
| Returns the overall scale of snowflakes during snowfall phenomenon.
|
|
proto native bool | IsDynVolFogEnabled () |
| Dynamic volumetric fog only takes effect if enabled in the world config.
|
|
proto native void | SetDynVolFogDistanceDensity (float value, float time=0) |
| Sets the dynamic volumetric fog distance density. Only takes effect if dynamic volumetric fog is enabled.
|
|
proto native float | GetDynVolFogDistanceDensity () |
| Returns the current 'dynamic' volumetric fog distance density.
|
|
proto native void | SetDynVolFogHeightDensity (float value, float time=0) |
| Sets the dynamic volumetric fog height density. Only takes effect if dynamic volumetric fog is enabled.
|
|
proto native float | GetDynVolFogHeightDensity () |
| Returns the current 'dynamic' volumetric fog height density.
|
|
proto native void | SetDynVolFogHeightBias (float value, float time=0) |
| Sets the 'dynamic' volumetric height bias. Takes effect only if enabled via world config.
|
|
proto native float | GetDynVolFogHeightBias () |
| Returns the current 'dynamic' volumetric fog height bias in meters.
|
|
void | MissionWeather (bool use) |
|
bool | GetMissionWeather () |
|
float | GetNoiseReductionByWeather () |
|
Weather controller
См. определение в файле Weather.c строка 164