AnimationUtility.TangentMode
The TangentMode option for each Keyframe.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Enum
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
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. |