Native referenceFiveM

SET_CAM_FAR_DOF

0xEDD91296CD01AEE0 CAM
FUNCTION SIGNATURE
void SET_CAM_FAR_DOF(Cam cam, float farDOF);
Property Value
Native Name SET_CAM_FAR_DOF
Hash 0xEDD91296CD01AEE0
Return Type void
Parameters cam (Cam), farDOF (float)

Description: Specifies when the camera should stop being in focus. Can be used together with SET_USE_HI_DOF, SET_CAM_NEAR_DOF, SET_CAM_USE_SHALLOW_DOF_MODE, SET_CAM_DOF_STRENGTH and other DoF related natives.

Usage Example

A usage example for this native can be found in the following native documentation: SET_CAM_DOF_STRENGTH.

Parameters

  • cam (Cam) — The camera handle
  • farDOF (float) — Distance in in standard units
Back to CAM