gfx.sky.physical.get_mie_color

Client

Retrieves the current Mie scattering color of the physical sky material


Syntax

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

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
colorresultCurrent Mie scattering color as {r, g, b, a}

Examples

Print current physical sky Mie color
core.engine.print("info", "Mie color:", util.table.unpack(gfx.sky.physical.get_mie_color()))

On this page