| SkyObjectNodeLightSmoothness Property |
Gets or sets the smoothness of the light shading.
Namespace: DigitalRune.Graphics.SceneGraphAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public float LightSmoothness { get; set; }
Public Property LightSmoothness As Single
Get
Set
public:
property float LightSmoothness {
float get ();
void set (float value);
}
member LightSmoothness : float32 with get, set
Property Value
Type:
SingleThe light smoothness in the range [0, 1]. The default value is 1.
Remarks
If this value is 0, then the shading of the moon/planet is physically-based. This can lead
to a hard border between the dark and the light side. If this value is greater than 0, the
dark/light transition is softened.
See Also