Manifold WASM Developer Guide
    Preparing search index...

    Module lib/scene-builder

    The scene builder provides modelling outside of the native capabilities of Manifold WASM. This includes scene graphs, materials, and animation functions. In general, the scene builder follows GLTF semantics.

    Classes

    GLTFNode → GLTFNode

    Interfaces

    GLTFMaterial → GLTFMaterial

    Type Aliases

    GLTFAttribute → GLTFAttribute

    Functions

    getAnimationDuration → getAnimationDuration
    getAnimationFPS → getAnimationFPS
    getAnimationMode → getAnimationMode
    getCircularSegments → getCircularSegments
    getMinCircularAngle → getMinCircularAngle
    getMinCircularEdgeLength → getMinCircularEdgeLength
    only → only
    resetToCircularDefaults → resetToCircularDefaults
    setAnimationDuration → setAnimationDuration
    setAnimationFPS → setAnimationFPS
    setAnimationMode → setAnimationMode
    setCircularSegments → setCircularSegments
    setMaterial → setMaterial
    setMinCircularAngle → setMinCircularAngle
    setMinCircularEdgeLength → setMinCircularEdgeLength
    setMorphEnd → setMorphEnd
    setMorphStart → setMorphStart
    show → show

    Management Functions

    cleanup

    Reset and garbage collect the scene builder and any encapsulated modules.

    GLTFNodesToGLTFDoc

    Convert a list of GLTF Nodes into a GLTF-Transform Document.

    manifoldToGLTFDoc

    Convert a Manifold object into a GLTF-Transform Document.