Cam::setGameplayCamRelativeHeading: 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 position relative to heading in float from -360 to +360.<br><br>Heading is alwyas 0 in aiming camera.==Syntax==<syntaxhighlight lang="javascript">cam.setGameplayCamRelativeHeading(heading);</syntaxhighlight>=== Required Arguments ===*'''heading:''' float===Return value===*'''Undefined'''==Example==<syntaxhighlight lang="javascript">todo</syntaxhighlight>==See also=={{Cam_function_c}}[[Category:Clientside API]][[Category:TODO: Example]]
Sets the camera position relative to heading in float from -360 to +360.<br><br>Heading is alwyas 0 in aiming camera.
==Syntax==
<syntaxhighlight lang="javascript">mp.game.cam.setGameplayCamRelativeHeading(heading);</syntaxhighlight>
=== Required Arguments ===
*'''heading:''' float
===Return value===
*'''Undefined'''
==Example==
<syntaxhighlight lang="javascript">
// todo
</syntaxhighlight>
==See also==
{{Cam_s_function_c}}
[[Category:Clientside API]]
[[Category:TODO: Example]]

Latest revision as of 21:05, 6 May 2017

Sets the camera position relative to heading in float from -360 to +360.

Heading is alwyas 0 in aiming camera.

Syntax

mp.game.cam.setGameplayCamRelativeHeading(heading);

Required Arguments

  • heading: float

Return value

  • Undefined

Example

// todo

See also

Template:Cam s function c