Expand description
Determines which entities are being hovered by which pointers.
The most important type in this module is the HoverMap
, which maps pointers to the entities
they are hovering over.
Structs§
- Hover
Map - The source of truth for all hover state. This is used to determine what events to send, and what state components should be in.
- Previous
Hover Map - The previous state of the hover map, used to track changes to hover state.
Enums§
- Picking
Interaction - A component that aggregates picking interaction state of this entity across all pointers.
Functions§
- update_
focus - Coalesces all data from inputs and backends to generate a map of the currently hovered entities. This is the final focusing step to determine which entity the pointer is hovering over.
- update_
interactions - Uses pointer events to update
PointerInteraction
andPickingInteraction
components.