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
| Type | Name | Description |
|---|---|---|
float | result | Current Rayleigh scattering coefficient value |
Examples
core.engine.print("info", "Rayleigh coefficient:", gfx.sky.physical.get_rayleigh_coefficient())