SetKeyLeftTangentMode(AnimationCurve, int, TangentMode)
Change the specified keyframe tangent mode.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public static void SetKeyLeftTangentMode(AnimationCurve curve, int index, AnimationUtility.TangentMode tangentMode)
Parameters
Remarks
The keyframe tangent mode will be used by the Curve Editor to generate tangents automatically. Changing the tangent mode here will also recalculate Keyframe.inTangent and Keyframe.outTangent.
Additional Resources: AnimationUtility.SetKeyRightTangentMode, AnimationUtility.SetKeyBroken.