Module bevy_mod_picking::events
source · Expand description
Processes data from input and backends, producing interaction events.
Structs
- Fires when a pointer sends a pointer down event followed by a pointer up event, with the same
target
entity for both events. - Fires when a pointer button is pressed over the
target
entity. - Fires while the
target
entity is being dragged. - Fires when a pointer is dragging the
target
entity and a pointer up event is received. - Fires when a pointer dragging the
dragged
entity enters thetarget
entity. - An entry in the
DragMap
. - Fires when a pointer dragging the
dragged
entity leaves thetarget
entity. - Maps pointers to the entities they are dragging.
- Fires while the
dragged
entity is being dragged over thetarget
entity. - Fires when the
target
entity receives a pointer down event followed by a pointer move event. - Fires when a pointer drops the
dropped
entity onto thetarget
entity. - Fires while a pointer is moving over the
target
entity. - Fires when a the pointer crosses out of the bounds of the
target
entity. - Fires when a the pointer crosses into the bounds of the
target
entity. - Fires when a pointer is no longer available.
- Stores the common data needed for all
PointerEvent
s. - Fires when a pointer button is released over the
target
entity.
Traits
- Used to mark the inner event types for
PointerEvent
s.
Functions
- Generates pointer events from input data
- Uses pointer events to determine when click and drag events occur.
- Uses pointer events to determine when drag-over events occur