GetCameraRotation: Difference between revisions

From Onset Developer Wiki
28days (talk | contribs)
No edit summary
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 3: Line 3:
{{FuncDescription|Get the camera rotation}}
{{FuncDescription|Get the camera rotation}}


{{FuncSyntax|GetPlayerCameraRotation()}}
{{FuncSyntax|GetCameraRotation([bSpectateCamera])}}


{{FuncParameters}}
{{FuncParameters}}
{{FuncNoParam}}
{{FuncParamOptional|bSpectateCamera|Get the spectate camera rotation.}}


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|This function returns the camera rotation.}}


== Example ==
== Example ==
<syntaxhighlight lang="Lua">
<syntaxhighlight lang="Lua">
-- code here
__EDIT_ME__
GetCameraRotation()
</syntaxhighlight>
</syntaxhighlight>


{{RelatedFunctions}}
{{RelatedFunctions}}
{{CameraFunctions}}
{{CameraFunctions}}

Latest revision as of 12:26, 2 September 2020

GetCameraRotation

Type: Function
Context: Client
Introduced: v1.0

Description

Get the camera rotation

Syntax

GetCameraRotation([bSpectateCamera])

Parameters

  • bSpectateCamera (optional)
    Get the spectate camera rotation.

Return Value

  • This function returns the camera rotation.

Example

__EDIT_ME__
GetCameraRotation()

See also