The Lab
CAMERA native

GET_FINAL_RENDERED_CAM_COORD

returns Vector30 paramsbuild 1207

Returns the position of the camera that was actually rendered last frame, whichever camera that is.

Signature

C
Vector3 GET_FINAL_RENDERED_CAM_COORD(); // 0x5352E025EC2B416F b1207

Parameters

This native takes no parameters.

Facts

Facts about GET_FINAL_RENDERED_CAM_COORD
Name
GET_FINAL_RENDERED_CAM_COORD
Hash
0x5352E025EC2B416F
Namespace
Returns
Vector3
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local coords = Citizen.InvokeNative(0x5352E025EC2B416F, -- GET_FINAL_RENDERED_CAM_COORD
  Citizen.ResultAsVector()
)
print(coords.x, coords.y, coords.z)
JavaScript
const coords = Citizen.invokeNative("0x5352E025EC2B416F", // GET_FINAL_RENDERED_CAM_COORD
  Citizen.resultAsVector()
);
const [x, y, z] = coords
C#
Vector3 coords = Function.Call<Vector3>((Hash)0x5352E025EC2B416F); // GET_FINAL_RENDERED_CAM_COORD
All CAMERA natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.