Version: 5.6
public static void SetKeyRightTangentMode (AnimationCurve curve, int index, AnimationUtility.TangentMode tangentMode);

パラメーター

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

説明

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

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

See Also: AnimationUtility.SetKeyLeftTangentMode, AnimationUtility.SetKeyBroken.