self:set_dof_blur_amount
Client
Sets the depth-of-field blur amount of the camera
Syntax
local status = self:set_dof_blur_amount(
amount
)Parameters
| Type | Name | Description |
|---|---|---|
float | amount | DOF blur amount to apply |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
local entity = core.camera.create()
entity:set_dof_blur_amount(0.1)