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

TypeNameDescription
intmodeCurrent sky mode enum value

Examples

Get the sky mode of a directional light
local entity = light.directional.create()

core.engine.print("info", "Sky Mode:", entity:get_sky_mode())

On this page