Definition
double GetDepthOfFieldFocalRange()
Description
This function returns the focal range of depth of field effect.
Return Value
Focal range of depth of field effect.
Example
range = 0.0 function Init() range = GetDepthOfFieldFocalRange() message = string.format("\nDepth of field focal range is : %.2f" ,range) PrintConsole(message) end function Update() end
In this example, the GetDepthOfFieldFocalRange function returns the focal range of depth of field effect. Then focal range value is displayed on the console by the PrintConsole function.
GetDepthOfFieldFocalRange