Function write_non_window_pointer_moved_events_system

Source
pub fn write_non_window_pointer_moved_events_system(
    hovered_non_window_egui_context: Option<Res<'_, HoveredNonWindowEguiContext>>,
    cursor_moved_reader: EventReader<'_, '_, CursorMoved>,
    egui_input_event_writer: EventWriter<'_, EguiInputEvent>,
    egui_contexts: Query<'_, '_, (&EguiContextSettings, &EguiContextPointerPosition), With<EguiContext>>,
)
Expand description

Reads CursorMoved events and wraps them into EguiInputEvent for a HoveredNonWindowEguiContext context (if one exists).