GET_CAM_SPLINE_PHASE
Returns the progress of the spline camera cam along its path, from 0.0 to 1.0.
Signature
float GET_CAM_SPLINE_PHASE(Cam cam); // 0x095EDCD24D90033A b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | cam | Cam |
Facts
| Name | GET_CAM_SPLINE_PHASE |
|---|---|
| Hash | 0x095EDCD24D90033A |
| Namespace | |
| Returns | float |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x095EDCD24D90033A, -- GET_CAM_SPLINE_PHASE
0, -- Cam cam
Citizen.ResultAsFloat()
)
print(result)const result = Citizen.invokeNative("0x095EDCD24D90033A", // GET_CAM_SPLINE_PHASE
0, // Cam cam
Citizen.resultAsFloat()
);
console.log(result)float result = Function.Call<float>((Hash)0x095EDCD24D90033A, // GET_CAM_SPLINE_PHASE
0 // Cam cam
);Related CAMERA natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.