Function write_window_pointer_moved_events_system

Source
pub fn write_window_pointer_moved_events_system(
    cursor_moved_reader: EventReader<'_, '_, CursorMoved>,
    egui_input_event_writer: EventWriter<'_, EguiInputEvent>,
    egui_contexts: Query<'_, '_, (&EguiContextSettings, &mut EguiContextPointerPosition), (With<EguiContext>, With<Window>)>,
)
Expand description

Reads MouseButtonInput events and wraps them into EguiInputEvent (only for window contexts).