Mojo3d mesh new
Method New:Void( )#
Method New:Void( vertices:mojo.graphics.Vertex3f[],indices:UInt[] )#
Creates a new mesh.
Creates a new empty mesh.
Meshes don't actual contain instances of materials. Instead, mesh triangles are added to 'logical' materials which are effectively just integer indices.
Actual materials are stored in models, and can be accessed via the Model.Materials property.