IsVolumetricShadowsEnabled

From Multi Theft Auto: Wiki
Revision as of 22:06, 6 September 2024 by FileEX (talk | contribs) (→‎See Also)
Jump to navigation Jump to search

BETA: NEW FEATURE (BUILD: 1.6.0 r22716)

This function is used to check whether the shadow enabled or not.

Syntax

bool isVolumetricShadowsEnabled ()

Returns

Returns true if enabled, false otherwise.

Example

This example used a command to check if volumetric shadows enabled or not.

addCommandHandler('isvolumetricshadows', function()
   print(isVolumetricShadowsEnabled())
end)

See Also