| GradientSkyNodeBackZenithShift Property |
Gets or sets the relative height where the sky color is the average of the
BackColor and the
ZenithColor.
Namespace: DigitalRune.Graphics.SceneGraphAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public float BackZenithShift { get; set; }
Public Property BackZenithShift As Single
Get
Set
public:
property float BackZenithShift {
float get ();
void set (float value);
}
member BackZenithShift : float32 with 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