setFogDistance
Client
Changes how far from the camera the fog starts, over the time cycle, until resetFogDistance restores it.
bool setFogDistance(float distance)
Parameters
| Name | Type | Description |
|---|---|---|
| distance | float | The distance in metres, from 0 to 20000. |
Returns
true once the value is set.
Example
setFogDistance(50)