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.
Additional Resources: AnimationUtility.SetKeyRightTangentMode, AnimationUtility.SetKeyLeftTangentMode, AnimationUtility.SetKeyBroken.
Fields
Value | Description |
|---|---|
| Auto | The tangents are automatically set to make the curve go smoothly through the key. |
| ClampedAuto | The tangents are automatically set to make the curve go smoothly through the key. |
| Constant | The curve retains a constant value between two keys. |
| Free | The tangent can be freely set by dragging the tangent handle. |
| Linear | The tangent points towards the neighboring key. |