| TerrainMaterialLayerTerrainSlopeMin Property |
Gets or sets the min terrain slope in radians. The material is not rendered if the terrain
is flatter than this slope. (This is a material parameter - see remarks.)
Namespace: DigitalRune.GraphicsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public float TerrainSlopeMin { get; set; }
Public Property TerrainSlopeMin As Single
Get
Set
public:
property float TerrainSlopeMin {
float get ();
void set (float value);
}
member TerrainSlopeMin : float32 with get, set
Property Value
Type:
Single
The min terrain slope in radians. The material is not rendered if the terrain is flatter
than this slope. The default value is -π rad (= 180°).
Remarks
This is material parameter. Changing this property affects all terrain layers that share
the same material.
See TerrainMaterialLayer for more details.
See Also