Mesh.GetTriangle

bool GetTriangle(uint triangleIndex, Vertex& a, Vertex& b, Vertex& c)

Retrieves the vertices associated with a particular triangle on the Mesh.

   
uint triangleIndex Starting index of the triangle, should be a multiple of 3.
Vertex& a The first vertex of the found triangle
Vertex& b The second vertex of the found triangle
Vertex& c The third vertex of the found triangle
RETURNS: bool Returns true if triangle index was valid




Found an issue with these docs, or have some additional questions? Create an Issue on Github!