MeshOptions

Description

sealed class Tinman.Terrain.Kernel.MeshOptions

Derived from

Disposable abstract
IValidatable

Defines options for creating a IMesh with MeshBuffer.MeshCreate.

Public / Constructors

Mesh​Options


public constructor MeshOptions → ()

Creates a new instance of MeshOptions.

Public / Attributes

Flags


public attribute Flags → (get,set)

value : MeshFlags

The flags.

The mesh creation flags.

Defaults to MeshFlags.None.

Geometry


public attribute Geometry → (get,set)

value : IGeometry

The IGeometry object or null.

The geometry to use.

If null, a geometry is constructed via Geometry.ForGeoref, using the geo-reference of Heightmap.

Defaults to null.

Heightmap


[OwnerValue]
public attribute Heightmap → (get,set)

value : IHeightmap

[not-null]
The heightmap.

The heightmap to use.

Modifier


public attribute Modifier → (get,set)

value : IMeshModifier

The IMeshModifier object or null.

Optional mesh modifier object.

Defaults to null.

Visibility


public attribute Visibility → (get,set)

value : IVisibleCheck

[not-null]
The IVisibleCheck object.

The initial vertex visibility criterion of the mesh.

Defaults to VisibleCheck.Never.