IFClite TypeScript API
    Preparing search index...

    Interface RemeshClientOptions

    @ifc-lite/geometry/remesh: re-mesh edited elements in a long-lived wasm worker, in the frame and style of the model's load (#6232 WP1).

    interface RemeshClientOptions {
        createWorker?: () => Worker;
        requestTimeoutMs?: number;
        wasmModule?: Module;
        wasmUrl?: string;
    }
    Index
    createWorker?: () => Worker

    Worker factory; defaults to the package's own remesh.worker.

    requestTimeoutMs?: number

    How long one request may take before the client gives up on the worker. A wasm call cannot be interrupted, so a request past this deadline kills the worker and the client; the caller creates a new one. Default 30 s.

    wasmModule?: Module

    A compiled engine module to instantiate instead of fetching one.

    wasmUrl?: string

    Engine binary URL, for hosts whose bundler does not rewrite wasm-bindgen's.