Vector3PunchMotionAdapter
Punchの初期値と強さから、指定時刻のVector3値を計算します。
public readonly struct Vector3PunchMotionAdapter : IMotionAdapter<Vector3, PunchOptions>, IProgressOnlyAdapter, IVibrationAdapterVibrationMotion.cs · L189メンバー
Evaluate
開始値・終了値・オプションを参照で受け取り、contextに対応する補間値を返します。
public Vector3 Evaluate(ref Vector3 startValue, ref Vector3 endValue, ref PunchOptions options, in MotionEvaluationContext context)引数と戻り値
startValueref Vector3補間の開始値。endValueref Vector3補間の終了値。optionsref PunchOptionsこの値型のアダプターに渡す設定。contextin MotionEvaluationContextイーズ適用後のProgressと経過秒数Time。- 戻り値
Vector3
MeatMotion