self:get_shadow_blur

Client

Retrieves the shadow blur amount of the spot 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 spot light
local entity = light.spot.create()

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

On this page