API

Interface MeshCreationOptions

Options used to create a mesh

interface MeshCreationOptions {
    clonePhysicsImpostor?: boolean;
    cloneThinInstances?: boolean;
    doNotCloneChildren?: boolean;
    parent?: Nullable<Node>;
    source?: Nullable<Mesh>;
}

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

source?: Nullable<Mesh>

An optional Mesh from which the new mesh will be cloned from (geometry will be shared)