Table of Contents

Class TerrainTexture

Namespace
HelixToolkit.Wpf
Assembly
HelixToolkit.Wpf.dll

A terrain texture base class.

public abstract class TerrainTexture
Inheritance
TerrainTexture
Derived
Inherited Members

Constructors

TerrainTexture()

Initializes a new instance of the TerrainTexture class.

public TerrainTexture()

Properties

Material

Gets or sets the material.

public Material? Material { get; set; }

Property Value

Material

The material.

TextureCoordinates

Gets or sets the texture coordinates.

public PointCollection? TextureCoordinates { get; set; }

Property Value

PointCollection

The texture coordinates.

Methods

Calculate(ITerrainModel, MeshGeometry3D)

Calculates the texture of the specified model.

public virtual void Calculate(ITerrainModel model, MeshGeometry3D mesh)

Parameters

model ITerrainModel

The model.

mesh MeshGeometry3D

The mesh.