self:get_shadow_blur

Client

Retrieves the shadow blur amount of the directional light


Syntax

local blur = self:get_shadow_blur()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
floatblurCurrent shadow blur amount

Examples

Get shadow blur of a directional light
local entity = light.directional.create()

core.engine.print("info", "Shadow Blur:", entity:get_shadow_blur())

On this page