The Lab
CAMERA native

SET_CAM_ROT

returns void5 paramsbuild 1207

Sets the rotation of cam in degrees, using rotationOrder.

Signature

C
void SET_CAM_ROT(Cam cam, float rotX, float rotY, float rotZ, int rotationOrder); // 0x63DFA6810AD78719 b1207

Parameters

#NameType
1camCam
2rotXfloat
3rotYfloat
4rotZfloat
5rotationOrderint

Facts

Facts about SET_CAM_ROT
Name
SET_CAM_ROT
Hash
0x63DFA6810AD78719
Namespace
Returns
void
Game build
1207

Examples

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

Lua
Citizen.InvokeNative(0x63DFA6810AD78719, -- SET_CAM_ROT
  0, -- Cam cam
  0.0, -- float rotX
  0.0, -- float rotY
  0.0, -- float rotZ
  0 -- int rotationOrder
)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x63DFA6810AD78719", // SET_CAM_ROT
  0, // Cam cam
  0.0, // float rotX
  0.0, // float rotY
  0.0, // float rotZ
  0 // int rotationOrder
);
C#
Function.Call((Hash)0x63DFA6810AD78719, // SET_CAM_ROT
  0, // Cam cam
  0.0f, // float rotX
  0.0f, // float rotY
  0.0f, // float rotZ
  0 // int rotationOrder
);
All CAMERA natives

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