self:set_bake_mode
Client
Sets the bake mode of the point light
Syntax
local status = self:set_bake_mode(
mode
)Parameters
| Type | Name | Description |
|---|---|---|
int | mode | Bake mode enum value to apply |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
local entity = light.point.create()
entity:set_bake_mode(1)