manifold-3d
    Preparing search index...

    Variable setMorphStart

    setMorphStart: (manifold: Manifold, func: (v: Vec3) => void) => void

    Type declaration

      • (manifold: Manifold, func: (v: Vec3) => void): void
      • 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.

        Parameters

        • manifold: Manifold

          The object to add morphing animation to.

        • func: (v: Vec3) => void

          A warping function to apply to the first animation frame.

        Returns void