CameraClient

getFinalRenderedCamNearDof

GET_FINAL_RENDERED_CAM_NEAR_DOF0xA03502FC581F7D9B

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

SignatureJavaScript
getFinalRenderedCamNearDof(): number
SignatureLua
getFinalRenderedCamNearDof(): number

Usage

JavaScript
const value = getFinalRenderedCamNearDof();
Lua
local value = getFinalRenderedCamNearDof()

Parameters

None.

Returns

float JavaScript number, Lua number

Reference

Namespace
Camera CAM
In the game
float GET_FINAL_RENDERED_CAM_NEAR_DOF()
Hash
0xA03502FC581F7D9B
Formerly
_GET_GAMEPLAY_CAM_NEAR_DOF

Open in the interactive natives reference