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

TypeNameDescription
string | boolresultCurrent sky material type, false otherwise
Refer Modes section

Modes

ModeDescription
"panorama"Panorama sky material
"procedural"Procedural sky material
"physical"Physical sky material

Examples

Print current sky material type
core.engine.print("info", "Sky mode:", gfx.sky.get_mode())

On this page