GetCameraRotation: Difference between revisions
From Onset Developer Wiki
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
{{FuncParameters}} | {{FuncParameters}} | ||
{{FuncParam|bSpectateCamera| | {{FuncParam|bSpectateCamera|Get the spectate camera rotation.}} | ||
{{FuncReturnValue| | {{FuncReturnValue|This function returns the camera rotation.}} | ||
== Example == | == Example == | ||
<syntaxhighlight lang="Lua"> | <syntaxhighlight lang="Lua"> | ||
-- code here | -- code here | ||
GetCameraRotation() | |||
</syntaxhighlight> | </syntaxhighlight> | ||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
{{CameraFunctions}} | {{CameraFunctions}} |
Revision as of 10:56, 6 January 2020
Description
Get the camera rotation
Syntax
GetCameraRotation()
Parameters
- bSpectateCamera
Get the spectate camera rotation.
Return Value
- This function returns the camera rotation.
Example
-- code here
GetCameraRotation()
See also
- StartCameraFade
- StopCameraFade
- PlayCameraShake
- StopCameraShake
- SetCameraShakeLocation
- SetCameraShakeRotation
- SetCameraShakeFOV
- GetScreenSize
- SetCameraLocation
- GetCameraLocation
- SetCameraRotation
- GetCameraRotation
- GetCameraForwardVector
- GetCameraRightVector
- GetCameraUpVector
- GetInputAxisValue
- SetCameraViewDistance
- GetCameraViewDistance