self:set_dof_blur_amount
Client
Sets the camera's depth of field blur intensity
Syntax
local status = self:set_dof_blur_amount(
amount
)Parameters
| Type | Name | Description |
|---|---|---|
float | amount | DOF blur amount Controls the overall intensity of the blur effect |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
local entity = core.camera.create()
entity:set_dof_blur_far_enabled(true)
entity:set_dof_blur_amount(0.5)