- Documentation
- Server functions
- setVolumetricShadowsEnabled
Function
setVolumetricShadowsEnabled
Stores whether peds and vehicles should have volumetric shadows (off by default).
Syntax
bool setVolumetricShadowsEnabled(bool enabled)Arguments
enabledbooltrue= shadows on.
Returns
true on success.
Example
setVolumetricShadowsEnabled(true)
Notes
State for scripts. Shadows are drawn by Unreal according to the player's graphics settings.