self:set_indirect_energy
Client
Sets the indirect energy multiplier of the point light
Syntax
local status = self:set_indirect_energy(
energy
)Parameters
| Type | Name | Description |
|---|---|---|
float | energy | Indirect energy multiplier to apply |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
local entity = light.point.create()
entity:set_indirect_energy(1.0)