CameraClient

setCamDofFocusDistanceBias

SET_CAM_DOF_FOCUS_DISTANCE_BIAS0xC669EEA5D031B7DE

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

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

Usage

JavaScript
setCamDofFocusDistanceBias(camera, p1);
Lua
setCamDofFocusDistanceBias(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_FOCUS_DISTANCE_BIAS(Cam camera, float p1)
Hash
0xC669EEA5D031B7DE
Formerly
_SET_CAM_DOF_FOCUS_DISTANCE_BIAS

Open in the interactive natives reference