self:set_shadow_blur

Client

Sets the shadow blur amount of the spot light


Syntax

local status = self:set_shadow_blur(
    blur
)

Parameters

TypeNameDescription
floatblurShadow blur amount to apply

Returns

TypeNameDescription
boolstatustrue on successful execution, false otherwise

Examples

Apply shadow blur on a spot light
local entity = light.spot.create()

entity:set_shadow_blur(1.0)

On this page