self:get_shadow_mode
Client
Retrieves the shadow rendering mode of the directional light
Syntax
local mode = self:get_shadow_mode()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
int | mode | Current shadow mode enum value |
Examples
local entity = light.directional.create()
core.engine.print("info", "Shadow Mode:", entity:get_shadow_mode())