self:is_shadow_enabled
Client
Checks whether shadow casting is enabled on the area light
Syntax
local result = self:is_shadow_enabled()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
bool | result | true if shadow casting is enabled, false otherwise |
Examples
local entity = light.area.create()
core.engine.print("info", "Shadow Enabled:", entity:is_shadow_enabled())