MouseButtonInput

MouseButtonInput

  • button : bevy_input::mouse::MouseButton
  • state : bevy_input::ButtonState
  • window : bevy_ecs::entity::Entity

Description

A mouse button input event.

This event is the translated version of the WindowEvent::MouseInput from the winit crate.

Usage

The event is read inside of the [mouse_button_input_system] to update the [ButtonInput<MouseButton>] resource.

Functions

FunctionSummary
assert_receiver_is_total_eq(_self)No Documentation 🚧
clone(_self)No Documentation 🚧
eq(_self, other)No Documentation 🚧