Click or drag to resize
DigitalRuneGradientSkyNodeBackZenithShift Property
Gets or sets the relative height where the sky color is the average of the BackColor and the ZenithColor.

Namespace: DigitalRune.Graphics.SceneGraph
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public float BackZenithShift { get; set; }

Property Value

Type: Single
The relative height where the sky color is the average of the BackColor and the ZenithColor, in the range [0, 1]. The default value is 0.5.
Remarks

The sky color opposite to the sun is created by interpolating the BackColor and the ZenithColor. If this value is 0.5, the average color of the gradient (= average of BackColor and the ZenithColor) is in the middle. If this value is less than 0.5, then the average color is shifted down to the horizon. If this value is greater than 0.5, then the average color is shifted up to the zenith.

See Also