mwg API
    Preparing search index...

    Type Alias AssetProgress

    AssetProgress: (fraction: number) => void

    0 (started) to 1 (complete) - a count of assets finished, not a byte count. Pixi's own loaders do not expose bytes transferred across every asset type uniformly, so this reports what is actually available rather than a byte figure it cannot back with a real number.

    Lives here rather than with the loader so Streaming.ts can name it without either file importing the other's module barrel, which is what made these two a cycle before.

    Type Declaration

      • (fraction: number): void
      • Parameters

        • fraction: number

        Returns void