GET_FINAL_RENDERED_CAM_ROT
Returns the rotation of the camera that was actually rendered last frame, using rotationOrder.
Signature
Vector3 GET_FINAL_RENDERED_CAM_ROT(int rotationOrder); // 0x602685BD85DD26CA b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | rotationOrder | int |
Facts
| Name | GET_FINAL_RENDERED_CAM_ROT |
|---|---|
| Hash | 0x602685BD85DD26CA |
| Namespace | |
| Returns | Vector3 |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local coords = Citizen.InvokeNative(0x602685BD85DD26CA, -- GET_FINAL_RENDERED_CAM_ROT
0, -- int rotationOrder
Citizen.ResultAsVector()
)
print(coords.x, coords.y, coords.z)const coords = Citizen.invokeNative("0x602685BD85DD26CA", // GET_FINAL_RENDERED_CAM_ROT
0, // int rotationOrder
Citizen.resultAsVector()
);
const [x, y, z] = coordsVector3 coords = Function.Call<Vector3>((Hash)0x602685BD85DD26CA, // GET_FINAL_RENDERED_CAM_ROT
0 // int rotationOrder
);Related CAMERA natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.