AnimationClock class
Manages normalized animation progress over time with easing.
public sealed class AnimationClockPublic Members
Section titled “Public Members”| name | description |
|---|---|
| AnimationClock(…) | Initializes a clock with the given duration and easing; null easing uses Default. |
| AutoReverse { get; set; } | Gets or sets whether the animation reverses direction on each repeat. |
| CompletedCallback { get; set; } | Gets or sets the callback invoked once the animation completes after all repeats; a single owner, not multicast. |
| Duration { get; set; } | Gets or sets the animation duration. |
| EasingFunction { get; set; } | Gets or sets the easing function applied to the raw progress. |
| IsPaused { get; } | Gets whether the clock is paused. |
| IsRunning { get; } | Gets whether the clock is currently running (not stopped). |
| Progress { get; } | Gets the current eased progress value in [0, 1]. |
| RawProgress { get; } | Gets the current raw (linear) progress value in [0, 1]. |
| RepeatCount { get; set; } | Gets or sets the number of additional runs after the first; 0 (the default) plays once and -1 repeats forever. |
| TickCallback { get; set; } | Gets or sets the callback invoked each frame with the eased progress; a single owner, not multicast. |
| Pause() | Pauses the animation at its current progress. |
| Resume() | Resumes a paused animation. |
| Start() | Starts the animation from the beginning; a running clock restarts its timing. |
| Stop() | Stops the animation; Progress keeps its last value until Start. |
See Also
Section titled “See Also”- namespace Aprillz.MewUI.Animation