TriangulationInputTrait_ArrayIndex

Description

struct Tinman.Terrain.Util.Algorithm.TriangulationInputTrait_ArrayIndex<T val>

A ITriangulationInputTrait for values in an indexed array.

Public / Constructors

Triangulation​Input​Trait_​Array​Index


public constructor TriangulationInputTrait_ArrayIndex → (4)

vertices in : T [ ]

[not-null]
See Vertices.

indices in : int32 [ ]

[not-null]
See Indices.

first opt : int32 = 0

[>=0]
See First.

offset opt : int32 = 0

[>=0]
See Offset.

Creates a new instance of TriangulationInputTrait_ArrayIndex.

Public / Attributes

First


public readonly attribute First → (int32)

Index into Indices to first polygon vertex.

Indices


public readonly attribute Indices → (int32 [ ])

The polygon vertex indices.

Offset


public readonly attribute Offset → (int32)

Offset to apply to the index values in Indices, before accessing Vertices.

Vertices


public readonly attribute Vertices → (T [ ])

The polygon vertices.