Skip to content

GradientSky

Inherits Sky

GradientSky is a class that is used to set a gradient skybox in the world.

Properties

SunDiscColor : Color

Determines the color emitting off the sun.

SunDiscMultiplier : number

Determines the multiplier of the sun.

SunDiscExponent : number

Determines the exponent of the sun.

SunHaloColor : Color

Determines the color of the sun halo.

SunHaloExponent : number

Determines the exponent of the sun halo.

SunHaloContribution : number

Determines the contribution of the sun halo.

HorizonLineColor : Color

Determines the horizon line's color.

HorizonLineExponent : number

Determines the horizon line's exponent.

HorizonLineContribution : number

Determines how much the horizon line contributes.

SkyGradientTop : Color

Determines the top color of the gradient.

SkyGradientBottom : Color

Determines the bottom color of the gradient.

SkyGradientExponent : number

Determines the gradient's exponent.