ProgressMotionExtensions
Report each bound tween value through IProgress.
public static class ProgressMotionExtensionsReportingMotionExtensions.cs · L18Members
BindToProgress
Call IProgress<TValue>.Report with each sampled value.
public static MotionHandle BindToProgress(this FloatMotionBuilder builder, IProgress<float> progress)Parameters and return value
builderthis FloatMotionBuilderConfigured builder, passed as the receiver for extension calls.progressIProgress<float>Target IProgress<float> that receives the update.- Returns
MotionHandle
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>Parameters and return value
builderthis MotionBuilder<TValue, TOptions, TAdapter>Configured builder, passed as the receiver for extension calls.progressIProgress<TValue>Target IProgress<TValue> that receives the update.- Returns
MotionHandle
MeatMotion