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