Interface MeshCloneOptions
interface MeshCloneOptions {
clonePhysicsImpostor?: boolean;
cloneThinInstances?: boolean;
doNotCloneChildren?: boolean;
parent?: Nullable<Node>;
}
clonePhysicsImpostor?: boolean;
cloneThinInstances?: boolean;
doNotCloneChildren?: boolean;
parent?: Nullable<Node>;
}
Hierarchy (View Summary)
- MeshCloneOptions
Index
Properties
Optionalclone Physics Impostor
clonePhysicsImpostor?: boolean
Includes cloning mesh physics impostor (default: true)
Optionalclone Thin Instances
cloneThinInstances?: boolean
Includes cloning thin instances (default: false)
Optionaldo Not Clone Children
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.
Optionalparent
The parent of the mesh, if it has one
Options used to clone a mesh