Documentation

Unity Engine


Unity Engine


GetKeyBroken(AnimationCurve, int)

Retrieves the broken tangent flag for a specfic keyframe.
Read time 1 minuteLast updated a month ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
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.