Click or drag to resize
DigitalRuneTerrainMaterialLayerTerrainSlopeMax Property
Gets or sets the max terrain slope in radians. The material is not rendered if the terrain is steeper 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 TerrainSlopeMax { get; set; }

Property Value

Type: Single
The max terrain slope in radians. The material is not rendered if the terrain is steeper 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.

Remarks

This is material parameter. Changing this property affects all terrain layers that share the same material.

See TerrainMaterialLayer for more details.

See Also