GET_CAM_ROT
Hash
0x9BF96B57254E7889Runtime name
GetCamRotNamespaceCAMERA
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x7D304C1C955E3E12Signature
Vector3 GET_CAM_ROT(Cam cam, int rotationOrder);Parameters
| Name | Type | Description |
|---|---|---|
cam | Cam | — |
rotationOrder | int | — |
Returns Vector3
Description
rotationOrder: https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/eEulerRotationOrder
Usage
local retval = GetCamRot(cam, rotationOrder)
-- always works, by hash
local retval = Citizen.InvokeNative(0x9BF96B57254E7889, cam, rotationOrder, Citizen.ResultAsVector())JavaScript and C#
const retval = GetCamRot(cam, rotationOrder);
// by hash
const retval = Citizen.invokeNative('0x9BF96B57254E7889', cam, rotationOrder, Citizen.returnResultAnyway(), Citizen.resultAsVector());Vector3 retval = Function.Call<Vector3>((Hash)0x9BF96B57254E7889, cam, rotationOrder);Enums and flags
- eEulerRotationOrder 6 values
See also
SET_CAM_ROTSets the rotation of the cam.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.