Interface MeshCreationOptions
interface MeshCreationOptions {
clonePhysicsImpostor?: boolean;
cloneThinInstances?: boolean;
doNotCloneChildren?: boolean;
parent?: Nullable<Node>;
source?: Nullable<Mesh>;
}
clonePhysicsImpostor?: boolean;
cloneThinInstances?: boolean;
doNotCloneChildren?: boolean;
parent?: Nullable<Node>;
source?: Nullable<Mesh>;
}
Hierarchy (View Summary)
- MeshCloneOptions
- MeshCreationOptions
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
Optionalsource
An optional Mesh from which the new mesh will be cloned from (geometry will be shared)
Options used to create a mesh