SDK JS
    Preparing search index...

    Interface WorkerBvcGltfPointCloudDecoderOptions

    Construction options for WorkerBvcGltfPointCloudDecoder.

    interface WorkerBvcGltfPointCloudDecoderOptions {
        onDegraded?: (error: BitruviusError) => void;
        poolSize?: number;
        wasmInit?: WasmHostInit;
    }
    Index

    Properties

    onDegraded?: (error: BitruviusError) => void

    Called once if the worker pool cannot be spawned and decoding degrades to the main thread. Supply your own sink (e.g. a layer's onError) — Tiles3DPointCloudLayer constructs this decoder with no options, so degradation is silent unless you pass it.

    poolSize?: number

    Worker pool size (default: ~navigator.hardwareConcurrency − 1, capped at 4).

    wasmInit?: WasmHostInit

    wasm load + init overrides forwarded to each worker; see WasmHostInit.