Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • MergeMeshesDto

Index

Constructors

constructor

  • new MergeMeshesDto(arrayOfMeshes?: Mesh[], disposeSource?: boolean, allow32BitsIndices?: boolean, meshSubclass?: Mesh, subdivideWithSubMeshes?: boolean, multiMultiMaterials?: boolean): MergeMeshesDto
  • Parameters

    • Optional arrayOfMeshes: Mesh[]
    • Optional disposeSource: boolean
    • Optional allow32BitsIndices: boolean
    • Optional meshSubclass: Mesh
    • Optional subdivideWithSubMeshes: boolean
    • Optional multiMultiMaterials: boolean

    Returns MergeMeshesDto

Properties

allow32BitsIndices

allow32BitsIndices: boolean

allow32BitsIndices when the sum of the vertices > 64k, this must be set to true.

default

false

arrayOfMeshes

arrayOfMeshes: Mesh[]

meshes array of meshes with the vertices to merge. Entries cannot be empty meshes.

default

undefined

disposeSource

disposeSource: boolean

disposeSource when true (default), dispose of the vertices from the source meshes.

default

true

Optional meshSubclass

meshSubclass: Mesh

meshSubclass (optional) can be set to a Mesh where the merged vertices will be inserted.

default

undefined

optional

true

multiMultiMaterials

multiMultiMaterials: boolean

multiMultiMaterials when true (false default), subdivide mesh into subMeshes with multiple materials, ignores subdivideWithSubMeshes.

default

false

subdivideWithSubMeshes

subdivideWithSubMeshes: boolean

subdivideWithSubMeshes when true (false default), subdivide mesh into subMeshes.

default

false

Generated using TypeDoc