Area Light
self:set_bake_mode
ClientSets the bake mode of the area light
Syntax
local status = self:set_bake_mode(
mode
)Parameters
| Type | Name | Description |
|---|---|---|
light.area.bake_mode | mode | Bake mode to apply |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
local entity = light.area.create()
entity:set_bake_mode(light.area.bake_mode.STATIC)