manifold-3d
    Preparing search index...

    Module lib/animation

    Type Aliases

    AnimationMode

    Functions

    cleanup

    Global Settings

    getAnimationDuration

    Get the current duruation of the animation, in seconds.

    getAnimationFPS

    Get the current animation frame rate.

    getAnimationMode

    Get the current animation repeat mode.

    setAnimationDuration

    Set the duration of the animation, in seconds.

    setAnimationFPS

    Set the animation frame rate.

    setAnimationMode

    Set the animation repeat mode.

    Modelling Functions

    setMorphEnd

    Apply a morphing animation to the input manifold. Specify the end function which will be applied to the vertex positions of the last frame and linearly interpolated across the length of the overall animation. This animation will only be shown if this manifold is used directly on a GLTFNode.

    setMorphStart

    Apply a morphing animation to the input manifold. Specify the start function which will be applied to the vertex positions of the first frame and linearly interpolated across the length of the overall animation. This animation will only be shown if this manifold is used directly on a GLTFNode.