manifold-3d
    Preparing search index...

    Function gltfDocToManifold

    • Convert a gltf-transform Node and its descendants into a Manifold object.

      The original imported model may consist of an entire tree of nodes, each of which may or may not be manifold. This method will convert each child node, and then union the results together. If a child node has no mesh, the mesh has no geometry, or the mesh is not manifold, that child node will be silently excluded.

      Other errors will be re-thrown for the caller to handle.

      Parameters

      • document: Document
      • Optionalnode: Node
      • Optionaltolerance: number

      Returns Manifold