CameraClient

getCamDofStrength

GET_CAM_DOF_STRENGTH0x06D153C0B99B6128

The GTA V native GET_CAM_DOF_STRENGTH of the CAM namespace, as LS:MP client scripts call it: the global function getCamDofStrength, in JavaScript and in Lua.

SignatureJavaScript
getCamDofStrength(cam: Cam): number
SignatureLua
getCamDofStrength(cam: Cam): number

Usage

JavaScript
const value = getCamDofStrength(cam);
Lua
local value = getCamDofStrength(cam)

Parameters

ParameterTypeJavaScriptLua
camCamnumberinteger

Returns

float JavaScript number, Lua number

Reference

Namespace
Camera CAM
In the game
float GET_CAM_DOF_STRENGTH(Cam cam)
Hash
0x06D153C0B99B6128
Introduced
Game build 2699 legacy numbering
Formerly
_GET_CAM_DOF_STRENGTH

Open in the interactive natives reference