Click or drag to resize
DigitalRuneGradientSkyNodeFrontGroundShift Property
Gets or sets the relative height where the sky color is the average of the FrontColor and the GroundColor.

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

Property Value

Type: Single
The relative height where the sky color is the average of the FrontColor and the GroundColor, 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 GroundColor. If this value is 0.5, the average color of the gradient (= average of FrontColor and GroundColor) is in the middle. If this value is less than 0.5, then the average color is shifted up to the horizon. If this value is greater than 0.5, then the average color is shifted down to the ground.

See Also