Graphics::drawDebugLine: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
 
Line 1: Line 1:
NOTE: Debugging functions are not present in the retail version of the game.
NOTE: Debugging functions are not present in the retail version of the game.
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">graphics.drawDebugLine(x1, y1, z1, x2, y2, z2, r, g, b, alpha);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.graphics.drawDebugLine(x1, y1, z1, x2, y2, z2, r, g, b, alpha);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''x1:''' float
*'''x1:''' float
Line 17: Line 17:
==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

NOTE: Debugging functions are not present in the retail version of the game.

Syntax

mp.game.graphics.drawDebugLine(x1, y1, z1, x2, y2, z2, r, g, b, alpha);

Required Arguments

  • x1: float
  • y1: float
  • z1: float
  • x2: float
  • y2: float
  • z2: float
  • r: int
  • g: int
  • b: int
  • alpha: int

Return value

  • Undefined

Example

// todo

See also