setCamDofMaxNearInFocusDistance
SET_CAM_DOF_MAX_NEAR_IN_FOCUS_DISTANCE0xC3654A441402562DThe GTA V native SET_CAM_DOF_MAX_NEAR_IN_FOCUS_DISTANCE of the CAM namespace, as LS:MP client scripts call it: the global function setCamDofMaxNearInFocusDistance, in JavaScript and in Lua.
setCamDofMaxNearInFocusDistance(camera: Cam, p1: number): voidsetCamDofMaxNearInFocusDistance(camera: Cam, p1: number)Usage
JavaScript
setCamDofMaxNearInFocusDistance(camera, p1);Lua
setCamDofMaxNearInFocusDistance(camera, p1)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
camera | Cam | number | integer |
p1 | float | number | number |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
This native has a name defined inside its code
Reference
- Namespace
- Camera CAM
- In the game
void SET_CAM_DOF_MAX_NEAR_IN_FOCUS_DISTANCE(Cam camera, float p1)- Hash
0xC3654A441402562D- Formerly
_SET_CAM_DOF_MAX_NEAR_IN_FOCUS_DISTANCE