기술 자료

Unity Engine

Unity Engine

AnimationUtility.TangentMode

The TangentMode option for each Keyframe.
읽는 시간 1분최근 업데이트: 한 달 전

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.