manifold-3d
    Preparing search index...

    Module lib/scene-builder

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

    This module includes modelling functions for use inside a ManifoldCAD script (e.g.: show, only, setMaterial, etc.). It also includes a set of management functions (e.g.: manifoldToGLTFDoc, cleanup, etc.) that are used to export complete scenes and generally manage the state of the scene builder.

    Classes

    GLTFMaterial → GLTFMaterial
    GLTFNode → GLTFNode

    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.