Manifold WASM Developer Guide
    Preparing search index...

    Class GLTFNode

    Position a manifold model for later export.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    manifold?: Manifold
    material?: GLTFMaterial
    name?: string
    rotation?: Vec3 | ((t: number) => Vec3)

    From the reference frame of the model being rotated, rotations are applied in z-y'-x" order. That is yaw first, then pitch and finally roll.

    From the global reference frame, a model will be rotated in x-y-z order. That is about the global X axis, then global Y axis, and finally global Z.

    This matches the behaviour of Manifold.rotate().

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

    Accessors

    Methods