Skip to content

CopyMesh

Narta Xaymar Dirks edited this page Oct 28, 2026 · 5 revisions
Blitz3D

CopyMesh

CopyMesh:Int32 mesh:Int32, parent:Int32=0
Parameter Mode Type Default Description
mesh In Int32 required Mesh handle to copy.
parent In Int32 0 Entity the copy follows, or 0 for none. Defaults to 0.

Returns: The handle of the copy.

Description

Makes an independent copy of a mesh with its own vertices and triangles. This differs from CopyEntity, whose copies share the mesh: after a CopyMesh you can reshape, paint or flip the copy without touching the original. The copy is made at the origin even if the source was moved.

Related Commands

AddMesh, CreateMesh, FitMesh, FlipMesh, LoadAnimMesh, LoadMesh, PaintMesh, PositionMesh

Home · Command Index



Differences
Language Features
BlitzBasic
Blitz3D
BlitzPlus

Clone this wiki locally