engineSetVolumetricFog
Client
Turns volumetric fog on or off. It starts off.
bool engineSetVolumetricFog(bool enabled)
Parameters
| Name | Type | Description |
|---|---|---|
| enabled | bool | true to turn it on. |
Returns
true if the setting was applied, false if the renderer is not running.
The setting applies to the whole client and stays after the resource stops.
Example
engineSetVolumetricFog(true)