Cam::setGameplayCamRelativePitch: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
Sets the camera pitch.<br><br>Parameters:<br>x = pitches the camera on the x axis.<br>Value2 = always seems to be hex 0x3F800000 (1.000000 float).
Sets the camera pitch.<br><br>Parameters:<br>x = pitches the camera on the x axis.<br>Value2 = always seems to be hex 0x3F800000 (1.000000 float).
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">cam.setGameplayCamRelativePitch(x, Value2);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.cam.setGameplayCamRelativePitch(x, Value2);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''x:''' float
*'''x:''' float
Line 9: Line 9:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Cam_function_c}}
{{Cam_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 21:04, 6 May 2017

Sets the camera pitch.

Parameters:
x = pitches the camera on the x axis.
Value2 = always seems to be hex 0x3F800000 (1.000000 float).

Syntax

mp.game.cam.setGameplayCamRelativePitch(x, Value2);

Required Arguments

  • x: float
  • Value2: float

Return value

  • unknown (to be checked)

Example

// todo

See also

Template:Cam s function c