Table of Contents

Class SlopeDirectionTexture

Namespace
HelixToolkit.Wpf
Assembly
HelixToolkit.Wpf.dll

Texture by the direction of the steepest gradient.

public class SlopeDirectionTexture : TerrainTexture
Inheritance
SlopeDirectionTexture
Inherited Members

Constructors

SlopeDirectionTexture(int)

Initializes a new instance of the SlopeDirectionTexture class.

public SlopeDirectionTexture(int gradientSteps)

Parameters

gradientSteps int

The 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 of the specified model.

public override void Calculate(ITerrainModel model, MeshGeometry3D mesh)

Parameters

model ITerrainModel

The model.

mesh MeshGeometry3D

The mesh.