Cam::setGameplayCamRelativeHeading: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
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">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]]

Revision as of 19:55, 6 May 2017

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

Heading is alwyas 0 in aiming camera.

Syntax

cam.setGameplayCamRelativeHeading(heading);

Required Arguments

  • heading: float

Return value

  • Undefined

Example

todo

See also

Template:Cam function c