cellCamActivateShallowDofMode

CELL_CAM_ACTIVATE_SHALLOW_DOF_MODE0xA2CCBE62CD4C91A4

The GTA V native CELL_CAM_ACTIVATE_SHALLOW_DOF_MODE of the MOBILE namespace, as LS:MP client scripts call it: the global function cellCamActivateShallowDofMode, in JavaScript and in Lua.

SignatureJavaScript
cellCamActivateShallowDofMode(toggle: boolean): void
SignatureLua
cellCamActivateShallowDofMode(toggle: boolean)

Usage

JavaScript
cellCamActivateShallowDofMode(toggle);
Lua
cellCamActivateShallowDofMode(toggle)

Parameters

ParameterTypeJavaScriptLua
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Mobile phone MOBILE
In the game
void CELL_CAM_ACTIVATE_SHALLOW_DOF_MODE(BOOL toggle)
Hash
0xA2CCBE62CD4C91A4

Open in the interactive natives reference