Camera::pointAt: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
p5 always seems to be 1 i.e TRUE
p5 always seems to be 1 i.e TRUE
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">camera.pointAt(entity, p2, p3, p4, p5);</syntaxhighlight>
<syntaxhighlight lang="javascript">camera.pointAt(entity, x, y, z, p5);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''entity:''' Entity handle or object
*'''entity:''' Entity handle or object
*'''p2:''' float
*'''x:''' float
*'''p3:''' float
*'''y:''' float
*'''p4:''' float
*'''y:''' float
*'''p5:''' Boolean
*'''p5:''' Boolean
===Return value===
===Return value===
Line 15: Line 15:
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Camera_function_c}}
{{Camera_definition_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 22:43, 15 June 2018