fast-mesh-wasm
    Preparing search index...

    Function decodeDraco

    • Decodes a standalone Draco file (.drc): a compressed triangle mesh. Only triangle meshes decode; point clouds throw.

      The draco3d decoder (WASM) initializes on first use; its module is shared across calls. Needs the draco3d package installed unless options supplies the module or its .wasm.

      Parameters

      Returns Promise<DecodedDracoMesh>

      When the bytes are not a Draco triangle mesh.