self:get_distance_fade_shadow

Client

Retrieves the distance at which shadow casting begins to fade on the directional 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 directional light
local entity = light.directional.create()

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

On this page