@pixi/3d
    Preparing search index...

    Function setDracoDecoderPath

    • Sets where the Draco decoder is fetched from, to self-host it

      Call it before loading the first Draco-compressed file, as the decoder loads once, on the first decode. A relative URL resolves against the page's origin, not the page's path.

      Parameters

      Returns void

      setDracoDecoderPath({
      jsUrl: '/draco/draco_wasm_wrapper.js',
      wasmUrl: '/draco/draco_decoder.wasm',
      });