文档

Unity Engine

Unity Engine

GetKeyBroken(AnimationCurve, int)

Retrieves the broken tangent flag for a specfic keyframe.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static bool GetKeyBroken(AnimationCurve curve, int index)

Parameters

Curve to query.

index

Keyframe index.

Returns

Type

Description

boolBroken flag at specified index.

Remarks

The Curve Editor uses the keyframe broken flag to automatically generate tangents.