| GradientSkyNodeFrontZenithShift Property |
Gets or sets the relative height where the sky color is the average of the
FrontColor 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 FrontZenithShift { get; set; }
Public Property FrontZenithShift As Single
Get
Set
public:
property float FrontZenithShift {
float get ();
void set (float value);
}
member FrontZenithShift : float32 with get, set
Property Value
Type:
Single
The relative height where the sky color is the average of the
FrontColor and
the
ZenithColor, in the range [0, 1]. The default value is 0.5.
Remarks
The sky color in the direction of the sun is created by interpolating the
FrontColor and the ZenithColor. If this value is 0.5, the
average color of the gradient (= average of FrontColor and
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