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