Click or drag to resize
DigitalRuneTerrainMaterialLayerTerrainSlopeMin 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.Graphics
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public float TerrainSlopeMin { 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