GetCameraRotation: Difference between revisions
From Onset Developer Wiki
Created page with "{{Info|Function|Client|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|GetPlayerCameraRotation()}} {{FuncParameters}} {{FuncNoParam}} {{FuncReturnValue|__EDIT_ME__}} =..." |
No edit summary |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Info|Function|Client|1.0}} | {{Info|Function|Client|1.0}} | ||
{{FuncDescription| | {{FuncDescription|Get the camera rotation}} | ||
{{FuncSyntax| | {{FuncSyntax|GetCameraRotation([bSpectateCamera])}} | ||
{{FuncParameters}} | {{FuncParameters}} | ||
{{ | {{FuncParamOptional|bSpectateCamera|Get the spectate camera rotation.}} | ||
{{FuncReturnValue| | {{FuncReturnValue|This function returns the camera rotation.}} | ||
== Example == | == Example == | ||
<syntaxhighlight lang="Lua"> | |||
__EDIT_ME__ | __EDIT_ME__ | ||
GetCameraRotation() | |||
</syntaxhighlight> | |||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
{{CameraFunctions}} |
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