gfx.sky.set_mode
Client
Sets the material type of the sky
Syntax
local status = gfx.sky.set_mode(
mode
)Parameters
| Type | Name | Description |
|---|---|---|
string | mode | Sky material type to apply Refer Modes section |
Returns
| Type | Name | Description |
|---|---|---|
bool | status | true on successful execution, false otherwise |
Modes
| Mode | Description |
|---|---|
"panorama" | Panorama sky material |
"procedural" | Procedural sky material |
"physical" | Physical sky material |
Examples
gfx.sky.set_mode("procedural")