Expand description

Common imports

Re-exports§

Structs§

  • Adds picking support for bevy_ui.
  • Fires when a pointer sends a pointer down event followed by a pointer up event, with the same target entity for both events.
  • Adds the StandardMaterial and ColorMaterial highlighting plugins.
  • Fires when an entity has been deselected
  • 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 the target entity.
  • Fires when a pointer dragging the dragged entity leaves the target entity.
  • Fires while the dragged entity is being dragged over the target 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 the target entity.
  • Adds picking support for bevy_egui, by ensuring that egui blocks other entities from being picked.
  • Adds event listening and bubbling support for event E.
  • Resource that defines the global default highlighting assets to use. This can be overridden per-entity with the Highlight component.
  • Overrides the global highlighting material for an entity. See PickHighlight.
  • A highlighting plugin, generic over any asset that might be used for rendering the different highlighting states.
  • A resource used to enable or disable picking highlighting.
  • Adds mouse and touch inputs for picking pointers to your app. This is a default input plugin, that you can replace with your own plugin as needed.
  • A resource used to enable and disable features of the InputPlugin.
  • Data from an event that triggered an On<Event> listener, and is currently bubbling through the entity hierarchy.
  • Fires while a pointer is moving over the target entity.
  • 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.
  • An event listener with a callback that is triggered when an EntityEvent bubbles past or targets this 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.
  • Makes an entity highlightable with any Asset. See DefaultHighlightingPlugin for details.
  • Tracks the current selection state of the entity.
  • An optional component that overrides default picking behavior for an entity, allowing you to make an entity non-hoverable, or allow items below it to be hovered. See the documentation on the fields for more details.
  • Stores the common data needed for all PointerEvents.
  • Holds a list of entities this pointer is currently interacting with, sorted from nearest to farthest.
  • Component that tracks a pointer’s current Location.
  • A resource that maps each PointerId to their Entity for easy lookups.
  • A component for pointers that defines whether or not the multiselect button is active. This is often the Ctrl or Shift keys.
  • Tracks the state of the pointer’s buttons in response to InputPresss.
  • Adds the rapier raycasting picking backend to your app.
  • Runtime settings for the RapierBackend.
  • Optional. Marks cameras and target entities that should be used in the rapier picking backend. Only needed if RapierBackendSettings::require_markers is set to true.
  • Adds the raycasting picking backend to your app.
  • Fires when an entity has been selected
  • Adds multiselect picking support to your app.
  • Adds picking support for bevy_sprite.
  • Fires when a pointer button is released over the target entity.
  • Adds the xpbd_3d raycasting picking backend to your app.
  • Runtime settings for the XpbdBackend.
  • Optional. Marks cameras and target entities that should be used in the xpbd picking backend. Only needed if XpbdBackendSettings::require_markers is set to true.

Enums§

  • Used to override each highlighting state in Highlight.
  • A component that aggregates picking interaction state of this entity across all pointers.
  • The button that was just pressed or released
  • Identifies a unique pointer entity. Mouse and Touch pointers are automatically spawned.

Traits§

  • An event that targets a specific entity, and should support event listeners and bubbling.

Type Aliases§

Derive Macros§