Tesla Graphics Engine Documentation (January 2012)
GetVertexIndex Method (primitiveIndex, pointIndex)
TeslaTesla.SceneMeshDataGetVertexIndex(Int32, Int32)
Given the position of a primitive in the mesh, and an index, get the indexing used for that primitive's vertex. E.g. for triangles, the pointIndex index would be 0-2, lines 0-1, points 0.
Declaration Syntax
C#
public int GetVertexIndex(
	int primitiveIndex,
	int pointIndex
)
Parameters
primitiveIndex (Int32)
Primitive position in this mesh
pointIndex (Int32)
Vertex index
Return Value
Index for this vertex, -1 if there was an error

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