gfx.sky.physical.get_rayleigh_coefficient

Client

Retrieves the current Rayleigh scattering coefficient of the physical sky material


Syntax

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

Parameters

No parameters are accepted by this function

Returns

TypeNameDescription
floatresultCurrent Rayleigh scattering coefficient value

Examples

Print current physical sky Rayleigh coefficient
core.engine.print("info", "Rayleigh coefficient:", gfx.sky.physical.get_rayleigh_coefficient())

On this page