mojo3d:mojo3d.Mesh.AddTriangles
Adds triangles to the mesh.
count
is the number of indices to add and must be a multiple of 3.
materialid
must be a valid material id in the range 0 to NumMaterials inclusive.
If materialid
is equal to NumMaterials, a new material is automatically added first.