Crate bevy_picking_selection
source ·Expand description
A plugin for bevy_mod_picking
that adds multiselect functionality.
This adds the Deselect
and Select
PointerEvent
s, including support for
bubbling these events.
Structs
- Fires when an entity has been deselected
- Marker struct used to mark pickable entities for which you don’t want to trigger a deselection event when picked. This is useful for gizmos or other pickable UI entities.
- Tracks the current selection state of the entity.
- Input state that defines whether or not the multiselect button is active. This is often the
Ctrl
orShift
keys. - Fires when an entity has been selected
- Adds multiselect picking support to your app.
- Runtime settings for the
bevy_picking_selection
plugin.
Functions
- Unsurprising default multiselect inputs: both control and shift keys.
- Update entity selection component state from pointer events.