gfx.sky.physical.get_ground_color

Client

Retrieves the current ground color of the physical sky material


Syntax

local result = gfx.sky.physical.get_ground_color()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
colorresultCurrent ground color as {r, g, b, a}

Examples

Print current physical sky ground color
core.engine.print("info", "Ground color:", util.table.unpack(gfx.sky.physical.get_ground_color()))

On this page