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