SET_CAM_ACTIVE_WITH_INTERP
Activates camTo and blends to it from camFrom over duration milliseconds.
Signature
void SET_CAM_ACTIVE_WITH_INTERP(Cam camTo, Cam camFrom, int duration, int easeLocation, int easeRotation); // 0x8B15AE2987C1AC8F b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | camTo | Cam |
| 2 | camFrom | Cam |
| 3 | duration | int |
| 4 | easeLocation | int |
| 5 | easeRotation | int |
Facts
| Name | SET_CAM_ACTIVE_WITH_INTERP |
|---|---|
| Hash | 0x8B15AE2987C1AC8F |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0x8B15AE2987C1AC8F, -- SET_CAM_ACTIVE_WITH_INTERP
0, -- Cam camTo
0, -- Cam camFrom
0, -- int duration
0, -- int easeLocation
0 -- int easeRotation
)Citizen.invokeNative("0x8B15AE2987C1AC8F", // SET_CAM_ACTIVE_WITH_INTERP
0, // Cam camTo
0, // Cam camFrom
0, // int duration
0, // int easeLocation
0 // int easeRotation
);Function.Call((Hash)0x8B15AE2987C1AC8F, // SET_CAM_ACTIVE_WITH_INTERP
0, // Cam camTo
0, // Cam camFrom
0, // int duration
0, // int easeLocation
0 // int easeRotation
);Related CAMERA natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.