Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetKeyRightTangentMode(AnimationCurve, int)

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

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static AnimationUtility.TangentMode GetKeyRightTangentMode(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.