Tesla Graphics Engine Documentation (January 2012)
GetPrimitive Method (primitiveIndex)
TeslaTesla.SceneMeshDataGetPrimitive(Int32)
Gets the vertex position for the primitive specified by its index in the mesh. Triangles return a list of 3 points and lines of 2 points.
Declaration Syntax
C#
public Vector3[] GetPrimitive(
	int primitiveIndex
)
Parameters
primitiveIndex (Int32)
Index of the primitive in the mesh
Exceptions
Exception Condition
TeslaException Throws if primitiveIndex is out of range or if indices are not set, but used

Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)