Function egui_animation::animate_ui_translation
source · pub fn animate_ui_translation(
ui: &mut Ui,
id: impl Hash + Sized + Debug + Copy,
easing: fn(_: f32) -> f32,
size: Vec2,
prevent_scroll_animation: bool,
content: impl FnOnce(&mut Ui)
) -> Rect
Expand description
A wrapper around animate_position that animates the position of a child ui.