Version: 2022.3
言語: 日本語
public static void SetKeyLeftTangentMode (AnimationCurve curve, int index, AnimationUtility.TangentMode tangentMode);

パラメーター

curve 変更するカーブ
index キーフレームのインデックス
tangentMode 接線モード

説明

指定したキーフレームの接線モードを変更します。

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

See Also: AnimationUtility.SetKeyRightTangentMode, AnimationUtility.SetKeyBroken.