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