class

Egui::AnimationManager

Inherits Reference < Object

egui AnimationManager: smooth Id-keyed scalar animation. When the target changes mid-flight, the animation restarts from its current value (used for hover/fade transitions, sliders easing, …).

Constructors

Instance methods

animate(id : Id, target : Float64, duration : Float64, time : Float64) : Float64
Source
running?(id : Id, time : Float64) : Bool

True while the animation for id is still easing towards its target (used to keep requesting repaints until it settles).

Source