Directional Light

self:get_bake_mode

Client

Retrieves the bake mode of the directional light

Syntax

local mode = self:get_bake_mode()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
light.directional.bake_modemodeCurrent bake mode

Examples

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

core.engine.print("info", "Bake Mode:", entity:get_bake_mode())

On this page