gfx.env.get_background_mode

Client

Retrieves the current background mode of the environment


Syntax

local result = gfx.env.get_background_mode()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
gfx.env.background_moderesultCurrent background mode

Examples

Print current environment background mode
core.engine.print("info", "Background mode:", gfx.env.get_background_mode())

On this page