SetCamUseShallowDofMode — FiveM Natives
0x16A96863A17552BB · CAM · all
Enables or disables the usage of a shallow DOF. Needs to be set to true to use SET_CAM_NEAR_DOF, SET_CAM_FAR_DOF, etc. Doesn't need to be called every tick. ### Usage Example A usage example for this native can be found in the following native documentation: SET_CAM_DOF_STRENGTH.
Parameters
| Name | Type | Description |
|---|---|---|
| cam | Cam | The camera handle |
| toggle | BOOL | Boolean if the camera should use a shallow depth of field or not |
Returns
void