self:get_distance_fade_begin

Client

Retrieves the distance at which the area 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 area light
local entity = light.area.create()

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

On this page