manifold-3d
    Preparing search index...

    Function toArrayBuffer

    • Convert an in-memory GLTF document to an ArrayBuffer.

      Parameters

      • doc: Document

        The GLTF document.

      • options: { extension?: string; mimetype?: string } = {}
        • Optionalextension?: string

          Use extension to determine the format of the imported model, rather than inferring it. If both extension and mimetype are specified, mimetype will be used.

        • Optionalmimetype?: string

          Use mimetype to determine the format of the imported model, rather than inferring it. If both extension and mimetype are specified, mimetype will be used.

      Returns Promise<ArrayBuffer>

      A URL encoded blob.