CreateMesh()
Syntax
Result = CreateMesh(#Mesh, BoundingBoxRadius)Description
Creates a new empty #Mesh. If #PB_Any is used as the '#Mesh' parameter, then the new mesh number will be returned as 'Result'.
SetMeshData() may be used to build a mesh from scratch by inserting the required vertices, normals, uv textures, etc. 'BoundingBoxRadius' specifies the bounding box radius applied to the mesh.
If Result equals 0, the creation of the mesh has failed. If the #Mesh was already created, then it is freed and replaced by a new one.
Supported OS
All