RedM Natives

GET_FINAL_RENDERED_CAM_ROT

Hash0x602685BD85DD26CA
Runtime nameGetFinalRenderedCamRot
NamespaceCAMERA
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x5B4E4C817FCC2DFB

Signature

Vector3 GET_FINAL_RENDERED_CAM_ROT(int rotationOrder);

Parameters

NameTypeDescription
rotationOrderint—

Returns Vector3

Usage

Lua
local retval = GetFinalRenderedCamRot(rotationOrder)

-- always works, by hash
local retval = Citizen.InvokeNative(0x602685BD85DD26CA, rotationOrder, Citizen.ResultAsVector())
JavaScript and C#
JavaScript
const retval = GetFinalRenderedCamRot(rotationOrder);

// by hash
const retval = Citizen.invokeNative('0x602685BD85DD26CA', rotationOrder, Citizen.returnResultAnyway(), Citizen.resultAsVector());
C#
Vector3 retval = Function.Call<Vector3>((Hash)0x602685BD85DD26CA, rotationOrder);

Enums and flags

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.