CopyMesh()

Syntax

Result = CopyMesh(#Mesh, #NewMesh)
Description
Creates a #NewMesh which is the exact copy of the specified #Mesh. If #PB_Any is used as the '#NewMesh' parameter, then the new mesh number will be returned as 'Result'.

If the Result equals 0, then the mesh copy has failed. If #NewMesh already exists, then it is freed and replaced by a new one.

Supported OS

All

Mesh Index - CreateMesh() ->