Version: 2019.2
Editing keys
Deleting keys

Changing interpolation and shape

Every key has one or two tangents that control the interpolation of the animation curve. The term interpolation refers to the estimation of values that determine the shape of the animation curve between two keys.

Whether a key has one of two tangents depends on the location of the key on the animation curve. The first key only has a right tangent that controls the interpolation of the animation curve after the key. The last key only has a left tangent that controls the interpolation of the animation curve before the last key.

The first key (red) only has a right tangent, and the last key (blue) only has a left tangent
The first key (red) only has a right tangent, and the last key (blue) only has a left tangent

所有其他关键点都有两条切线,其中左切线控制关键点前的插值,右切线控制关键点后的插值。默认情况下,切线之间是相互连接的。拖动一条切线会影响两条切线的位置以及关键点前后动画曲线的插值。

默认情况下,既不是第一个关键点也不是最后一个关键点的关键点都连接了切线。拖动任一切线都会更改关键点前后动画曲线的插值。
默认情况下,既不是第一个关键点也不是最后一个关键点的关键点都连接了切线。拖动任一切线都会更改关键点前后动画曲线的插值。

Dragging a tangent may also change the interpolation mode of the animation curve. For example, most keys are set to the Clamped Auto interpolation mode which automatically smooths animation curve as it passes through the key. If you drag a tangent of a key set to Clamped Auto, the interpolation mode changes to Free Smooth.

The term interpolation mode refers to the interpolation algorithm that determines which shape to use when drawing the animation curve.

To view the interpolation mode for a key, select the key and right-click. The context menu shows the interpolation mode. To change the interpolation mode for a key, select the key, right-click and select another interpolation mode.

上下文菜单显示所选关键点的插值模式。使用上下文菜单更改插值模式。
上下文菜单显示所选关键点的插值模式。使用上下文菜单更改插值模式。

Some interpolation modes break the left and right tangents so that you can position them separately. When tangents are broken, you can set a separate interpolation mode for the animation curve before the key and the animation curve after the key. For more details on the different interpolation modes, see Editing Curves. In the Animation window documentation, the interpolation mode is referred to as tangent type.


  • 2019–08–20 页面已发布
Editing keys
Deleting keys
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961