文档

Unity Engine


Unity Engine


GetKeyLeftTangentMode(AnimationCurve, int)

Retrieves the left tangent mode of the keyframe at a specific index.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static AnimationUtility.TangentMode GetKeyLeftTangentMode(AnimationCurve curve, int index)

Parameters

Curve to query.

index

Keyframe index.

Returns

Type

Description

TangentModeReturns the tangent mode.

Remarks

The Curve Editor uses the keyframe tangent mode to automatically generate tangents.