self:get_distance_fade_length
Client
Retrieves the length of the fade transition on the area light
Syntax
local distance = self:get_distance_fade_length()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
float | distance | Fade transition length in world units |
Examples
local entity = light.area.create()
core.engine.print("info", "Distance Fade Length:", entity:get_distance_fade_length())