Manifold WASM Developer Guide
    Preparing search index...

    Module lib/material

    Assign glTF materials to manifoldCAD models.

    Functions

    cleanup
    getBackupMaterial

    Recurse up the scene graph to find a material.

    getCachedMaterial
    getMaterialByID
    setMaterial

    Return a shallow copy of the input manifold with the given material properties applied. They will be carried along through operations.

    setMaterialByID