# ProgressMotionExtensions

Tweenの出力をIProgressに渡し、更新ごとに進捗を通知します。

Namespace: MeatMotion.Extensions

Assembly: MeatMotion

```csharp
public static class ProgressMotionExtensions
```

[Runtime/Bindings/ReportingMotionExtensions.cs · L18](../../source/Runtime/Bindings/ReportingMotionExtensions.cs.html#L18)

## BindToProgress

IProgress<TValue>.Reportに各補間値を渡します。

```csharp
public static MotionHandle BindToProgress(this FloatMotionBuilder builder, IProgress<float> progress)
```

引数と戻り値

- `builder` (`this FloatMotionBuilder`) 設定済みのビルダー。拡張メソッドでは呼び出し元として渡されます。
- `progress` (`IProgress<float>`) 値を適用する対象（IProgress<float>）。
- 戻り値: `MotionHandle`

[Runtime/Bindings/ReportingMotionExtensions.cs · L20](../../source/Runtime/Bindings/ReportingMotionExtensions.cs.html#L20)

```csharp
public static MotionHandle BindToProgress<TValue, TOptions, TAdapter>(this MotionBuilder<TValue, TOptions, TAdapter> builder, IProgress<TValue> progress)
    where TValue : unmanaged
    where TOptions : unmanaged, IMotionOptions
    where TAdapter : unmanaged, IMotionAdapter<TValue, TOptions>
```

引数と戻り値

- `builder` (`this MotionBuilder<TValue, TOptions, TAdapter>`) 設定済みのビルダー。拡張メソッドでは呼び出し元として渡されます。
- `progress` (`IProgress<TValue>`) 値を適用する対象（IProgress<TValue>）。
- 戻り値: `MotionHandle`

[Runtime/Bindings/ReportingMotionExtensions.cs · L23](../../source/Runtime/Bindings/ReportingMotionExtensions.cs.html#L23)
