SDK JS
    Preparing search index...

    Class WorkerBvcI3sPointCloudDecoder

    Off-main-thread I3sPointCloudDecoder for BVC-backed I3S point clouds: decode jobs fan out to a WorkerPool so dequant/packing stays off the render thread. Drop-in for BvcI3sPointCloudDecoder (same decode contract).

    Nodes whose I3sDecodeContext carries a reproject function (not cloneable to a worker) transparently fall back to a main-thread BvcI3sPointCloudDecoder. concurrency reports the pool size for sizing the engine's decode queue.

    Implements

    • I3sPointCloudDecoder
    Index

    Constructors

    Properties

    concurrency: number

    Worker pool size — size the engine's decode concurrency to match.

    selfContainedAttributes: true

    Always true — a node's .bvc blob carries its own attributes (no side fetches).

    Methods

    • Decode one I3S node's BVC blob on a worker (or on the main thread when ctx carries a non-cloneable reproject function).

      Parameters

      • blobs: I3sNodeBlobs

        The node's resource blobs; blobs.geometry (the single-tile .bvc) is transferred to the worker.

      • ctx: I3sDecodeContext

        The I3sDecodeContext (see BvcI3sPointCloudDecoder.decode).

      Returns Promise<PackedPointTile>

      A PackedPointTile in the scene's local ENU frame (metres).

      Rejects on worker spawn failure, wasm init failure, or an invalid .bvc blob.

    • Tear down the worker pool and release its workers. Safe to call repeatedly.

      Returns void