Expand description
The mouse input functionality.
Structs§
- Tracks how much the mouse has moved every frame.
- Tracks how much the mouse has scrolled every frame.
- A mouse button input event.
- An event reporting the change in physical position of a pointing device.
- A mouse wheel event.
Enums§
- A button on a mouse device.
- The scroll unit.
Functions§
- Updates the
AccumulatedMouseMotion
resource using theMouseMotion
event. The value ofAccumulatedMouseMotion
is reset to zero every frame - Updates the
AccumulatedMouseScroll
resource using theMouseWheel
event. The value ofAccumulatedMouseScroll
is reset to zero every frame - Updates the
ButtonInput<MouseButton>
resource with the latestMouseButtonInput
events.