SetDepthOfFieldFocalRange

Definition

SetDepthOfFieldFocalRange(float focalRange)

Description

This function sets the focal range value of depth of field effect to focalRange.

Parameters

focalRange
Specifies the focal range of depth of field effect. This value must be equal to or greater than 0.0.

Example

function Init()
    SetDepthOfFieldFocalRange(20.0)
end

function Update()

end
This script sets the focal range of the depth of field effect to 20.0.
adminSetDepthOfFieldFocalRange