Tesla Graphics Engine Documentation (January 2012)
GetPrimitiveIndices Method (primitiveIndex, store)
TeslaTesla.SceneMeshDataGetPrimitiveIndices(Int32, array<Int32>[]()[][])
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.
Declaration Syntax
C#
public void GetPrimitiveIndices(
	int primitiveIndex,
	int[] store
)
Parameters
primitiveIndex (Int32)
Primitive position in the mesh
store (array<Int32>[]()[][])
Array to store primitive indices in
Exceptions
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)