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