Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

AnimationUtility.GetKeyLeftTangentMode

public static AnimationUtility.TangentMode GetKeyLeftTangentMode(AnimationCurve curve, int index);

Parameters

curve Curve to query.
index Keyframe index.

Returns

TangentMode Tangent mode at specified index.

Description

Retrieve the left tangent mode of the keyframe at specified index.

The keyframe tangent mode is used by the Curve Editor to generate tangents automatically.

See Also: AnimationUtility.GetKeyRightTangentMode, AnimationUtility.GetKeyBroken.