gfx.env.set_ambient_energy
Client
Sets the ambient light energy of the environment
Syntax
local status = gfx.env.set_ambient_energy(
value
)Parameters
| Type | Name | Description |
|---|---|---|
float | value | Ambient light energy to apply |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
gfx.env.set_ambient_energy(1.0)