TriangulationOutputTrait_Int32_Array

Description

struct Tinman.Terrain.Util.Algorithm.TriangulationOutputTrait_Int32_Array

A ITriangulationOutputTrait for outputting triangle indices into an array.

Public / Constructors

Triangulation​Output​Trait_​Int32_​Array


public constructor TriangulationOutputTrait_Int32_Array → (3)

indices in : int32 [ ]

[not-null]
See Indices.

first opt : int32 = 0

[>=0]
See First.

offset opt : int32 = 0

See Offset.

Creates a new instance of TriangulationOutputTrait_Int32_Array.

Public / Attributes

First


public readonly attribute First → (int32)

Index into Indices to first index to write.

Indices


public readonly attribute Indices → (int32 [ ])

The output array for triangle indices.

Offset


public readonly attribute Offset → (int32)

Base value that will be added to indices before writing them to Indices.