Graphics::setFarShadowsSuppressed: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
 
Line 1: Line 1:
When this is set to ON, shadows only draw as you get nearer.<br><br>When OFF, they draw from a further distance.
When this is set to ON, shadows only draw as you get nearer.<br><br>When OFF, they draw from a further distance.
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">graphics.setFarShadowsSuppressed(toggle);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.graphics.setFarShadowsSuppressed(toggle);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''toggle:''' Boolean
*'''toggle:''' Boolean
Line 8: Line 8:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Graphics_function_c}}
{{Graphics_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 21:13, 6 May 2017

When this is set to ON, shadows only draw as you get nearer.

When OFF, they draw from a further distance.

Syntax

mp.game.graphics.setFarShadowsSuppressed(toggle);

Required Arguments

  • toggle: Boolean

Return value

  • Undefined

Example

// todo

See also