self:get_distance_fade_begin

Client

Retrieves the distance at which the directional light begins to fade out


Syntax

local distance = self:get_distance_fade_begin()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
floatdistanceFade begin distance in world units

Examples

Get distance fade begin of a directional light
local entity = light.directional.create()

core.engine.print("info", "Distance Fade Begin:", entity:get_distance_fade_begin())

On this page