gfx.sky.get_mode
Client
Retrieves the current material type of the sky
Syntax
local result = gfx.sky.get_mode()Parameters
| No parameters are accepted by this function |
|---|
Returns
| Type | Name | Description |
|---|---|---|
string | bool | result | Current sky material type, false otherwiseRefer Modes section |
Modes
| Mode | Description |
|---|---|
"panorama" | Panorama sky material |
"procedural" | Procedural sky material |
"physical" | Physical sky material |
Examples
core.engine.print("info", "Sky mode:", gfx.sky.get_mode())