setCamDofFocalLengthMultiplier
SET_CAM_DOF_FOCAL_LENGTH_MULTIPLIER0x47B595D60664CFFAThe GTA V native SET_CAM_DOF_FOCAL_LENGTH_MULTIPLIER of the CAM namespace, as LS:MP client scripts call it: the global function setCamDofFocalLengthMultiplier, in JavaScript and in Lua.
setCamDofFocalLengthMultiplier(camera: Cam, multiplier: number): voidsetCamDofFocalLengthMultiplier(camera: Cam, multiplier: number)Usage
JavaScript
setCamDofFocalLengthMultiplier(camera, multiplier);Lua
setCamDofFocalLengthMultiplier(camera, multiplier)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
camera | Cam | number | integer |
multiplier | 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.
Native name labeled within its code
Reference
- Namespace
- Camera CAM
- In the game
void SET_CAM_DOF_FOCAL_LENGTH_MULTIPLIER(Cam camera, float multiplier)- Hash
0x47B595D60664CFFA- Introduced
- Game build 1011 legacy numbering
- Formerly
_SET_CAM_DOF_FOCAL_LENGTH_MULTIPLIER