| TerrainMaterialLayerTerrainSlopeMax 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.GraphicsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public float TerrainSlopeMax { get; set; }
Public Property TerrainSlopeMax As Single
Get
Set
public:
property float TerrainSlopeMax {
float get ();
void set (float value);
}
member TerrainSlopeMax : float32 with 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