IsVolumetricShadowsEnabled: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
 
Line 1: Line 1:
{{Client function}}  
{{Client function}}  
__NOTOC__
__NOTOC__
{{Added feature/item|1.6.1|1.6.0|22716|  
{{Added feature/item|1.6.1|1.6.0|22721|  
This function is used to check whether the shadow enabled or not.
This function is used to check whether the shadow enabled or not.
}}
}}

Latest revision as of 16:53, 10 September 2024

BETA: NEW FEATURE (BUILD: 1.6.0 r22721)

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