API

Interface MeshCloneOptions

Options used to clone a mesh

interface MeshCloneOptions {
    clonePhysicsImpostor?: boolean;
    cloneThinInstances?: boolean;
    doNotCloneChildren?: boolean;
    parent?: Nullable<Node>;
}

Hierarchy (View Summary)

Index
clonePhysicsImpostor?: boolean

Includes cloning mesh physics impostor (default: true)

cloneThinInstances?: boolean

Includes cloning thin instances (default: false)

doNotCloneChildren?: boolean

Skips cloning child meshes of source (default: false. When false, achieved by calling a clone(), also passing False. This will make creation of children, recursive.

parent?: Nullable<Node>

The parent of the mesh, if it has one