Skip to main content

Module easing

Module easing 

Source
Expand description

The keyed easings the render path polls, as a table the host ticks.

egui’s AnimationManager::animate_value (© Rerun / emilk, dual-licensed MIT OR Apache-2.0), reimplemented over Duration and AnimKey. It lives here rather than in a backend so every backend animates identically, and so the clock a view depends on is an argument rather than a global.

Structs§

Animated
What one poll of an easing answered.
Eased 🔒
One easing in flight: where it started, where it is heading, and when it was last aimed somewhere new.
Easing
Every keyed easing in the session.
Tick
The frame clock an easing is read against: when this frame is, and how long the next one is expected to take.