# IntMotionAdapter

補間した値をIntegerOptionsの丸め規則に従ってInt値に変換します。

Namespace: MeatMotion.Adapters

Assembly: MeatMotion

```csharp
public readonly struct IntMotionAdapter : IMotionAdapter<int, IntegerOptions>, IProgressOnlyAdapter
```

[Runtime/Adapters/BuiltIn/MotionAdapters.cs · L37](../../source/Runtime/Adapters/BuiltIn/MotionAdapters.cs.html#L37)

## Evaluate

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

```csharp
public int Evaluate(ref int startValue, ref int endValue, ref IntegerOptions options, in MotionEvaluationContext context)
```

引数と戻り値

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

[Runtime/Adapters/BuiltIn/MotionAdapters.cs · L39](../../source/Runtime/Adapters/BuiltIn/MotionAdapters.cs.html#L39)
