Vector2MotionAdapter
始点と終点のVector2値をイーズ適用後のProgressで線形補間します。
public readonly struct Vector2MotionAdapter : IMotionAdapter<Vector2, NoOptions>, IFloatComponentsMotionAdapters.cs · L55メンバー
Evaluate
開始値・終了値・オプションを参照で受け取り、contextに対応する補間値を返します。
public Vector2 Evaluate(ref Vector2 startValue, ref Vector2 endValue, ref NoOptions options, in MotionEvaluationContext context)引数と戻り値
startValueref Vector2補間の開始値。endValueref Vector2補間の終了値。optionsref NoOptionsこの値型のアダプターに渡す設定。contextin MotionEvaluationContextイーズ適用後のProgressと経過秒数Time。- 戻り値
Vector2
MeatMotion