MeshObjectID =  mesh .sphere .create  (  Radius ,  NbVSegments ,  NbHSegments  )  
                                          
Description :

This instruction creates a sphere primitive based on a specified radius, number of vertical divisions and number of horizontal divisions.

Parameters :

  • Radius of the sphere.
  • Number of vertical segments.
  • Number of horizontal segments.

Return Handle :

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

Examples :