skyGradient

open override fun skyGradient(skyGradient: Expression): SkyLayer

Defines a radial color gradient with which to color the sky. The color values can be interpolated with an expression using sky-radial-progress. The range 0, 1 for the interpolant covers a radial distance (in degrees) of 0, `sky-gradient-radius` centered at the position specified by sky-gradient-center.

Use static method SkyLayer.defaultSkyGradient to set the default property.

Parameters

skyGradient

value of skyGradient

val skyGradient: Expression?

Defines a radial color gradient with which to color the sky. The color values can be interpolated with an expression using sky-radial-progress. The range 0, 1 for the interpolant covers a radial distance (in degrees) of 0, `sky-gradient-radius` centered at the position specified by sky-gradient-center.