Mojo3d mesh settriangles
mojo3d:mojo3d.Mesh.SetTriangles
Method SetTriangles:Void( indices:UInt Ptr,first:Int,count:Int,materialid:Int=0 )#
Method SetTriangles:Void( indices:UInt[],materialid:Int=0 )#
Sets tthe triangles for a material in the mesh.
materialid
must be a valid material id in the range 0 to NumMaterials inclusive.