GetCameraRotation: Difference between revisions
From Onset Developer Wiki
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
{{FuncDescription|Get the camera rotation}} | {{FuncDescription|Get the camera rotation}} | ||
{{FuncSyntax|GetCameraRotation()}} | {{FuncSyntax|GetCameraRotation([bSpectateCamera])}} | ||
{{FuncParameters}} | {{FuncParameters}} | ||
{{ | {{FuncParamOptional|bSpectateCamera|Get the spectate camera rotation.}} | ||
{{FuncReturnValue|This function returns the camera rotation.}} | {{FuncReturnValue|This function returns the camera rotation.}} | ||
Line 12: | Line 12: | ||
== Example == | == Example == | ||
<syntaxhighlight lang="Lua"> | <syntaxhighlight lang="Lua"> | ||
__EDIT_ME__ | |||
GetCameraRotation() | GetCameraRotation() | ||
</syntaxhighlight> | </syntaxhighlight> |
Latest revision as of 12:26, 2 September 2020
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
- StartCameraFade
- StopCameraFade
- PlayCameraShake
- StopCameraShake
- SetCameraShakeLocation
- SetCameraShakeRotation
- SetCameraShakeFOV
- GetScreenSize
- SetCameraLocation
- GetCameraLocation
- SetCameraRotation
- GetCameraRotation
- GetCameraForwardVector
- GetCameraRightVector
- GetCameraUpVector
- GetInputAxisValue
- SetCameraViewDistance
- GetCameraViewDistance