Directional Light
self:get_bake_mode
ClientRetrieves the bake mode of the directional light
Syntax
local mode = self:get_bake_mode()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
light.directional.bake_mode | mode | Current bake mode |
Examples
local entity = light.directional.create()
core.engine.print("info", "Bake Mode:", entity:get_bake_mode())