Expand description
§egui_animation
Modules§
- easing
- Re-export of simple_easing
Structs§
- Collapse
- Collapse animation to hide/show content. Currently only vertical collapse is supported.
Functions§
- animate_
bool_ eased - Same as
Context::animate_bool_with_timebut with an easing function. - animate_
continuous - Creates a continuous animation based on the current time. Useful for e.g. animating a bouncing ball. It will repeatedly go from 0.0 to 1.0 and back to 0.0.
- animate_
eased - Same as
Context::animate_value_with_timebut with an easing function. - animate_
position - Animate a position. Useful to e.g. animate swapping items in a list.
This is basically a wrapper around
animate_easedthat animates both x and y. It will try to correct for scrolling, since in egui, scroll will change a widgets y position. - animate_
repeating - Creates a repeating animation based on the current time. Useful for e.g. animating a loading spinner. It will repeatedly go from 0.0 to 1.0 and jump back to 0.0.
- animate_
ui_ translation - A wrapper around
animate_positionthat animates the position of a child ui.