Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetKeyLeftTangentMode(AnimationCurve, int)

Retrieves the left tangent mode of the keyframe at a specific index.
Read time 1 minuteLast updated 11 days ago

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.