public static void SetKeyBroken (AnimationCurve curve, int index, bool broken);

参数

curve要修改的曲线。
index关键帧索引。
broken中断标志。

描述

更改指定关键帧的中断切线标志。

曲线编辑器将使用关键帧中断标志自动生成切线。在此更改中断标志还将重新计算 Keyframe.inTangentKeyframe.outTangent

另请参阅:AnimationUtility.SetKeyLeftTangentModeAnimationUtility.SetKeyRightTangentMode