| TerrainNodeHoleThreshold Property |
Gets or sets the threshold used to check for holes.
Namespace: DigitalRune.Graphics.SceneGraphAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public float HoleThreshold { get; set; }
Public Property HoleThreshold As Single
Get
Set
public:
property float HoleThreshold {
float get ();
void set (float value);
}
member HoleThreshold : float32 with get, set
Property Value
Type:
SingleThe threshold used to check for holes. The default value is 0.3.
Remarks
Holes are usually marked using 0 values in the BaseClipmap. Solid terrain
parts have a value of 1. However, in the distance the terrain geometry is downsampled, which
also means that the hole values are averaged. HoleThreshold is used to decide
when a value still counts as a hole. A hole threshold of 0 disables holes.
See Also