setCamDofPlanes
SET_CAM_DOF_PLANES0x3CF48F6F96E749DCThe GTA V native SET_CAM_DOF_PLANES of the CAM namespace, as LS:MP client scripts call it: the global function setCamDofPlanes, in JavaScript and in Lua.
setCamDofPlanes(
cam: Cam,
p1: number,
p2: number,
p3: number,
p4: number
): voidsetCamDofPlanes(cam: Cam, p1: number, p2: number, p3: number, p4: number)Usage
JavaScript
setCamDofPlanes(cam, p1, p2, p3, p4);Lua
setCamDofPlanes(cam, p1, p2, p3, p4)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
cam | Cam | number | integer |
p1 | float | number | number |
p2 | float | number | number |
p3 | float | number | number |
p4 | float | number | number |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Camera CAM
- In the game
void SET_CAM_DOF_PLANES(Cam cam, float p1, float p2, float p3, float p4)- Hash
0x3CF48F6F96E749DC