self:get_distance_fade_shadow

Client

Retrieves the distance at which shadow casting begins to fade on the area light


Syntax

local distance = self:get_distance_fade_shadow()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
floatdistanceShadow fade begin distance in world units

Examples

Get distance fade shadow of a area light
local entity = light.area.create()

core.engine.print("info", "Distance Fade Shadow:", entity:get_distance_fade_shadow())

On this page