Expand description
The mouse input functionality.
Structs§
- Accumulated
Mouse Motion - Tracks how much the mouse has moved every frame.
- Accumulated
Mouse Scroll - Tracks how much the mouse has scrolled every frame.
- Mouse
Button Input - A mouse button input event.
- Mouse
Motion - An event reporting the change in physical position of a pointing device.
- Mouse
Wheel - A mouse wheel event.
Enums§
- Mouse
Button - A button on a mouse device.
- Mouse
Scroll Unit - The scroll unit.
Functions§
- accumulate_
mouse_ motion_ system - Updates the
AccumulatedMouseMotion
resource using theMouseMotion
event. The value ofAccumulatedMouseMotion
is reset to zero every frame - accumulate_
mouse_ scroll_ system - Updates the
AccumulatedMouseScroll
resource using theMouseWheel
event. The value ofAccumulatedMouseScroll
is reset to zero every frame - mouse_
button_ input_ system - Updates the
ButtonInput<MouseButton>
resource with the latestMouseButtonInput
events.