Expand description
Helpers for converting Bevy types into Egui ones and vice versa.
Functionsยง
- bevy_
to_ egui_ key - Matches the implementation of https://github.com/emilk/egui/blob/68b3ef7f6badfe893d3bbb1f791b481069d807d9/crates/egui-winit/src/lib.rs#L1005.
- bevy_
to_ egui_ physical_ key - Matches the implementation of https://github.com/emilk/egui/blob/68b3ef7f6badfe893d3bbb1f791b481069d807d9/crates/egui-winit/src/lib.rs#L1080.
- egui_
pos2_ into_ vec2 - Converts
egui::Pos2
intobevy_math::Vec2
. - egui_
rect_ into_ rect - Converts
egui::Rect
intobevy_math::Rect
. - egui_
to_ winit_ cursor_ icon - Translates
egui::CursorIcon
intobevy_window::SystemCursorIcon
. - egui_
vec2_ into_ vec2 - Converts
egui::Vec2
intobevy_math::Vec2
. - rect_
into_ egui_ rect - Converts
bevy_math::Rect
intoegui::Rect
. - vec2_
into_ egui_ pos2 - Converts
bevy_math::Vec2
intoegui::Pos2
. - vec2_
into_ egui_ vec2 - Converts
bevy_math::Vec2
intoegui::Vec2
.