M MY Multiplayer: Wiki
Side
Kind

engineSetLocalLightShadows

Client

Turns the shadows of local lights (point, spot and rect lights) on or off.

bool engineSetLocalLightShadows(bool enabled)

Parameters

NameTypeDescription
enabledbooltrue 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)

See also