Changing the interpolation mode between keyframes

You can change the transition mode between keyframes in your animations by using different interpolation types. In Kanzi you can use linear, step, and Bezier interpolation types.

To change the interpolation mode between keyframes:

  1. Double-click an Animation Data item or an Animation Clip to open it in the Animation Clip Editor.

  2. In the Animation Clip Editor use the Move tool image0 to select two or more keyframes and then select the interpolation mode:

    • image1

      Linear interpolation creates a linear transition between keyframe values.

    • image2

      Step interpolation keeps the value of the current keyframe constant up until the following keyframe.

    • image3

      Bezier interpolation interpolates the values between keyframes using the Bezier polynomial.

    For example, to convert keyframes from linear to Bezier interpolation, use the Move tool image4 to select the keyframes and click image5.

    ../../_images/select-first-two-keyframes1.png ../../_images/select-bezier-interpolation-type1.png

Using interpolation types in the API

For details, see KeyframeAnimation::BezierKeyframe, KeyframeAnimation::LinearKeyframe, and KeyframeAnimation::StepKeyframe classes.

See also

Tutorial: Create keyframe animations

Creating keyframe animations

Creating animations and timelines using the Kanzi Engine API

Editing animation clips

Editing timeline sequences

Animations