SET_CAM_NEAR_CLIP
Sets the near clipping distance of cam.
Signature
void SET_CAM_NEAR_CLIP(Cam cam, float nearClip); // 0xA924028272A61364 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | cam | Cam |
| 2 | nearClip | float |
Facts
| Name | SET_CAM_NEAR_CLIP |
|---|---|
| Hash | 0xA924028272A61364 |
| 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(0xA924028272A61364, -- SET_CAM_NEAR_CLIP
0, -- Cam cam
0.0 -- float nearClip
)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0xA924028272A61364", // SET_CAM_NEAR_CLIP
0, // Cam cam
0.0 // float nearClip
);Function.Call((Hash)0xA924028272A61364, // SET_CAM_NEAR_CLIP
0, // Cam cam
0.0f // float nearClip
);Related CAMERA natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.