Version: 2022.3
言語: 日本語
public static void SetKeyBroken (AnimationCurve curve, int index, bool broken);

パラメーター

curve 変更するカーブ
index キーフレームのインデックス
broken 壊れたフラグ

説明

指定したキーフレームの壊れた接線フラグを変更します。

キーフレームの broken のフラグは、自動的に接線を生成するためにカーブエディターで使用されます。 ここで broken のフラグを変更すると、Keyframe.inTangentKeyframe.outTangent も再計算されます。

See Also: AnimationUtility.SetKeyLeftTangentMode, AnimationUtility.SetKeyRightTangentMode.