Tween<T> class
Interpolates a value between From and To driven by an AnimationClock.
public sealed class Tween<T>Public Members
Section titled “Public Members”| name | description |
|---|---|
| Tween(…) | Initializes a tween between two values with the given interpolation function. |
| CurrentValue { get; } | Gets the current interpolated value. |
| From { get; set; } | Gets or sets the start value. |
| To { get; set; } | Gets or sets the end value. |
| event ValueChanged | Occurs when a clock tick updates CurrentValue. |
| Bind(…) | Binds this tween to a clock so each tick updates CurrentValue, replacing any earlier binding. |
| Unbind() | Unbinds from the currently connected clock. |
See Also
Section titled “See Also”- namespace Aprillz.MewUI.Animation