Module bevy_mod_picking::pointer
source · Expand description
Types and systems for pointer inputs, such as position and buttons.
Structs§
- Pointer input event for pointer moves. Fires when a pointer changes location.
- Pointer input event for button presses. Fires when a pointer button changes state.
- The location of a pointer, including the current
NormalizedRenderTarget
, and the x/y position of the pointer on this render target. - Holds a list of entities this pointer is currently interacting with, sorted from nearest to farthest.
- Component that tracks a pointer’s current
Location
. - Tracks the state of the pointer’s buttons in response to
InputPress
s.
Enums§
- The button that was just pressed or released
- Identifies a unique pointer entity.
Mouse
andTouch
pointers are automatically spawned. - The stage of the pointer button press event
Functions§
- Update the
PointerMap
resource with the current frame’s data.