self:get_dof_blur_near_distance

Client

Retrieves the near depth-of-field blur distance of the camera


Syntax

local distance = self:get_dof_blur_near_distance()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
floatdistanceCurrent near DOF blur distance

Examples

Get the near DOF blur distance
local entity = core.camera.create()

core.engine.print("info", "Near DOF distance:", entity:get_dof_blur_near_distance())

On this page