Graphics::drawLightWithRangeAndShadow: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
 
Line 1: Line 1:


==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">graphics.drawLightWithRangeAndShadow(x, y, z, r, g, b, range, intensity, shadow);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.graphics.drawLightWithRangeAndShadow(x, y, z, r, g, b, range, intensity, shadow);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''x:''' float
*'''x:''' float
Line 16: Line 16:
==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:27, 6 May 2017

Syntax

mp.game.graphics.drawLightWithRangeAndShadow(x, y, z, r, g, b, range, intensity, shadow);

Required Arguments

  • x: float
  • y: float
  • z: float
  • r: int
  • g: int
  • b: int
  • range: float
  • intensity: float
  • shadow: float

Return value

  • Undefined

Example

// todo

See also