Crate egui_animation
source ·Expand description
§egui_animation
Modules§
- Re-export of simple_easing
Structs§
- Collapse animation to hide/show content. Currently only vertical collapse is supported.
Functions§
- Same as Context::animate_bool_with_time but with an easing function.
- 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.
- Same as Context::animate_value_with_time but with an easing function.
- Animate a position. Useful to e.g. animate swapping items in a list. This is basically a wrapper around animate_eased that animates both x and y. It will try to correct for scrolling, since in egui, scroll will change a widgets y position.
- 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.
- A wrapper around animate_position that animates the position of a child ui.