self:get_shadow_fade_start
Client
Retrieves the shadow fade start of the directional light, as a proportion of the shadow max distance at which shadows begin fading out
Syntax
local fade = self:get_shadow_fade_start()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
float | fade | Current fade start proportion, from 0.0 to 1.0 |
Examples
local entity = light.directional.create()
core.engine.print("info", "Shadow Fade Start:", entity:get_shadow_fade_start())