This class implements a Mesh for indexed lines.
Rather than defining each line directly as an array of vertices, an array containing each unique vertex in the part is defined. Then lines are defined by arrays of indices that refer to elements of this vertex array. This allows lines to share vertices, thus reducing the number of vertices.
Returns a copy of the BoundingBox of the mesh
A readonly array containing the indices of the mesh
The number of primitives in the mesh.
The type of primitives that are used in the mesh.
A readonly array containing the 2d texture coordinates of the mesh
A readonly array containing the vertices of the mesh
The number of vertices in the mesh.
Returns a copy of the vertex indices of a given primitive.
Generated using TypeDoc