Crate egui_animation

Crate egui_animation 

Source
Expand description

§egui_animation

egui_ver Latest version Documentation unsafe forbidden License

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_time but 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_time but 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_eased that 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_position that animates the position of a child ui.