gfx.env.get_background_intensity

Client

Retrieves the current background luminance intensity of the environment


Syntax

local result = gfx.env.get_background_intensity()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
floatresultCurrent background luminance intensity value

Examples

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

On this page