CameraClient

setCamDofMaxNearInFocusDistanceBlendLevel

SET_CAM_DOF_MAX_NEAR_IN_FOCUS_DISTANCE_BLEND_LEVEL0x2C654B4943BDDF7C

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

SignatureJavaScript
setCamDofMaxNearInFocusDistanceBlendLevel(camera: Cam, p1: number): void
SignatureLua
setCamDofMaxNearInFocusDistanceBlendLevel(camera: Cam, p1: number)

Usage

JavaScript
setCamDofMaxNearInFocusDistanceBlendLevel(camera, p1);
Lua
setCamDofMaxNearInFocusDistanceBlendLevel(camera, p1)

Parameters

ParameterTypeJavaScriptLua
cameraCamnumberinteger
p1floatnumbernumber

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_BLEND_LEVEL(Cam camera, float p1)
Hash
0x2C654B4943BDDF7C
Formerly
_SET_CAM_DOF_MAX_NEAR_IN_FOCUS_DISTANCE_BLEND_LEVEL

Open in the interactive natives reference