gfx.env.set_ambient_source
Client
Sets the ambient light source of the environment
Syntax
local status = gfx.env.set_ambient_source(
source
)Parameters
| Type | Name | Description |
|---|---|---|
gfx.env.ambient_source | source | Ambient light source to apply |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Examples
gfx.env.set_ambient_source(gfx.env.ambient_source.BG)