# FloatPunchMotionAdapter

Punchの初期値と強さから、指定時刻のFloat値を計算します。

Namespace: MeatMotion.Adapters

Assembly: MeatMotion

```csharp
public readonly struct FloatPunchMotionAdapter : IMotionAdapter<float, PunchOptions>, IProgressOnlyAdapter, IVibrationAdapter
```

[Runtime/Adapters/Vibration/VibrationMotion.cs · L171](../../source/Runtime/Adapters/Vibration/VibrationMotion.cs.html#L171)

## Evaluate

開始値・終了値・オプションを参照で受け取り、contextに対応する補間値を返します。

```csharp
public float Evaluate(ref float startValue, ref float endValue, ref PunchOptions options, in MotionEvaluationContext context)
```

引数と戻り値

- `startValue` (`ref float`) 補間の開始値。
- `endValue` (`ref float`) 補間の終了値。
- `options` (`ref PunchOptions`) この値型のアダプターに渡す設定。
- `context` (`in MotionEvaluationContext`) イーズ適用後のProgressと経過秒数Time。
- 戻り値: `float`

[Runtime/Adapters/Vibration/VibrationMotion.cs · L173](../../source/Runtime/Adapters/Vibration/VibrationMotion.cs.html#L173)
