Given the primitive index in this mesh (e.g. the first, second, third triangle,
and so on), return an index array of their vertex information. Supports all
the PrimitiveTypes (so triangles will return 3 points and lines 2 points), as well
as indexed/non-indexed vertex buffers.
Note, if short indices are used they will be returned as Int32's.
- primitiveIndex (Int32)
- Primitive position in the mesh
Index information for that primitive, null if index was out of bounds
| Exception | Condition |
|---|---|
| TeslaException | Thrown if primitiveIndex is out of range or if indices are not set |
Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)