engineSetLocalLightShadows
Client
Turns the shadows of local lights (point, spot and rect lights) on or off.
bool engineSetLocalLightShadows(bool enabled)
Parameters
| Name | Type | Description |
|---|---|---|
| enabled | bool | true lets the lights that ask for a shadow cast one. |
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
engineSetLocalLightShadows(false)