manifold-3d
    Preparing search index...

    Module lib/worker

    The worker is where everything comes together. It handles worker communication, execution of a model and exporting the final scene as a GLTF-Transform Document or URL encoded Blob.

    This is an isomorphic module that can be used directly as a JavaScript or TypeScript module. It can be imported as a web worker, and defines a set of interfaces for communication in that case.

    Namespaces

    MessageFromWorker
    MessageToWorker

    Interfaces

    evaluateOptions

    If bundle is set to false, the worker will not bundle code, and assume that it has already been bundled. An undefined value will be treated by default as true.

    Message

    Type Aliases

    MessageType

    Functions

    cleanup

    Clean up any state from the last run.

    evaluate

    Transform a model from code to a GLTF document.

    exportBlobURL

    Convert an in-memory GLTF document to a URL encoded blob.