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