MeshFlags

Description

[Flags]
enum Tinman.Terrain.Kernel.MeshFlags

Enumeration of mesh creation flags.

Public / Constants

None

public constant None → (0:int32)

No mesh creation flags.

ErrorPositionSimple

public constant ErrorPositionSimple → (1:int32)

Compute simple position errors (see Semantic.ErrorPosition)?

Without this flag, position error is computed as the area of the triangle that is spanned by a vertex and the spine of its mesh diamond (i.e., the line segment that connects its grand parent and ancestor vertices).

When this flag is set, position error is computed as the (squared) distance between the vertex and the midpoint between its grand parent and ancestor vertices.

All

public constant All → (1:int32)

All mesh creation flags.