self:get_dof_blur_amount

Client

Retrieves the camera's depth of field blur amount


Syntax

local result = self:get_dof_blur_amount()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
floatresultCurrent DOF blur amount
Controls the intensity of the blur effect

Examples

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

core.engine.print("info", entity:get_dof_blur_amount())

On this page