self:get_distance_fade_shadow
Client
Retrieves the distance at which shadow casting begins to fade on the point light
Syntax
local distance = self:get_distance_fade_shadow()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
float | distance | Shadow fade begin distance in world units |
Examples
local entity = light.point.create()
core.engine.print("info", "Distance Fade Shadow:", entity:get_distance_fade_shadow())