ManifoldCAD User Guide
    Preparing search index...

    Class VisualizationGLTFNode

    Include an imported model for visualization purposes.

    These nodes contain models that will be exported into the final GLTF document. They have not been converted into Manifold objects and cannot be modified. They can only be transformed (rotation, scale, translation) or displayed.

    This is useful for viewing ManifoldCAD models in the context of a larger assembly.

    GLTF objects meeting the manifold-gltf extension will still be manifold when exported.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    Properties

    name?: string
    rotation?: Vec3 | ((t: number) => Vec3)

    Rotations are applied in XYZ order. That is roll first, then pitch and finally yaw. This matches the behaviour of Manifold.rotate().

    scale?: Vec3 | ((t: number) => Vec3)
    translation?: Vec3 | ((t: number) => Vec3)

    Accessors

    Methods