Construct a packed mesh.
The model this mesh came from.
The materials array for the packed mesh (referenced by index by primitives)
The primitives for this mesh (the mesh fragments by material), with the material index being the second item of the tuple.
Triangle element maps (one per primitive, in the same order, to map elements to primitives)
Element primitive index, maps element local ids to the correct primitive.
Readonly
elementElement primitive index, maps element local ids to the correct primitive.
Readonly
materialsThe materials array for the packed mesh (referenced by index by primitives)
Readonly
modelThe model this mesh came from.
Readonly
primitivesThe primitives for this mesh (the mesh fragments by material), with the material index being the second item of the tuple.
Readonly
triangleTriangle element maps (one per primitive, in the same order, to map elements to primitives)
Get triangles from a cursor.
The cursor to extract triangles for
A packed mesh that has all the materials, primitives and the mapping back to model elements.
This can be considered the reified version of CanonicalGeometry.