Type alias ModelCloneOptions

ModelCloneOptions: { createInstance?: boolean; nodeNamingStrategy?: NodeNamingStrategy; tagNamingStrategy?: TagNamingStrategy }

Type declaration

  • Optional createInstance?: boolean

    true: Creates "InstancedMeshes" from meshes of the base model instead of "independent" meshes. Most of the data, especially the geometry and material assignment is shared, only the transformation data (e.g. position) can be adjusted.
    Activating this flag can lead to huge performance improvements, especially when working with a large amount of clones.

  • Optional nodeNamingStrategy?: NodeNamingStrategy
  • Optional tagNamingStrategy?: TagNamingStrategy

Generated using TypeDoc