Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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.

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.