gfx.sky.physical.get_turbidity

Client

Retrieves the current atmospheric turbidity of the physical sky material


Syntax

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

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
floatresultCurrent atmospheric turbidity value

Examples

Print current physical sky turbidity
core.engine.print("info", "Turbidity:", gfx.sky.physical.get_turbidity())

On this page