文档

Unity Engine

Unity Engine

AnimationUtility.TangentMode

The TangentMode option for each Keyframe.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Enum
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public enum AnimationUtility.TangentMode

Remarks

The Curve Editor uses the TangentMode to calculate Keyframe.inTangent and Keyframe.outTangent.

Fields

Value

Description

AutoThe tangents are automatically set to make the curve go smoothly through the key.
ClampedAutoThe tangents are automatically set to make the curve go smoothly through the key.
ConstantThe curve retains a constant value between two keys.
FreeThe tangent can be freely set by dragging the tangent handle.
LinearThe tangent points towards the neighboring key.