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
| Type | Name | Description |
|---|---|---|
float | result | Current background luminance intensity value |
Examples
core.engine.print("info", "Background intensity:", gfx.env.get_background_intensity())