gfx.sky.procedural.get_sky_top_color

Client

Retrieves the current top color of the procedural sky


Syntax

local result = gfx.sky.procedural.get_sky_top_color()

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
colorresultCurrent top color of the procedural sky as {r, g, b, a}

Examples

Print current procedural sky sky top color
core.engine.print("info", "Sky top color:", util.table.unpack(gfx.sky.procedural.get_sky_top_color()))

On this page