Class SlopeTexture
- Namespace
- HelixToolkit.Wpf
- Assembly
- HelixToolkit.Wpf.dll
Texture by the slope angle.
public class SlopeTexture : TerrainTexture
- Inheritance
-
SlopeTexture
- Inherited Members
Constructors
SlopeTexture(int)
Initializes a new instance of the SlopeTexture class.
public SlopeTexture(int gradientSteps)
Parameters
gradientStepsintThe gradient steps.
Properties
Brush
Gets or sets the brush.
public Brush Brush { get; set; }
Property Value
- Brush
The brush.
Methods
Calculate(ITerrainModel, MeshGeometry3D)
Calculates the texture for the specified model.
public override void Calculate(ITerrainModel model, MeshGeometry3D mesh)
Parameters
modelITerrainModelThe model.
meshMeshGeometry3DThe mesh.