MeshObjectID =  mesh .create  (  NbVertices ,  NbTriangles  )  
                                
Description :

This instruction creates a mesh with a known number of vertices and triangles.

To create the vertices and triangles, you must use:

mesh.triangle.set
mesh.vertex.set

Parameters :

  • Number of vertices.
  • Number of triangles.

Return Handle :

  • ObjectID of the mesh if the creation was successful, NULL otherwise.

Examples :