Interaction System
The interaction layer is built on:
- a custom picking backend:
univis_picking_backend - observer callbacks for pointer events
- component state through
UInteraction
Core Components
UInteraction- stores the current interaction state
UInteractionColors- maps state changes to background colors
How It Works
- the backend computes hits
- Bevy picking emits pointer events
- observers in
interaction/feedback.rsupdateUInteractionand visuals
Note
Interaction depends on UInteraction being present on the target entity.
Related References
Related Examples
API Entry Points
univis_ui_interaction::interaction::feedback::UInteractionunivis_ui_interaction::interaction::feedback::UInteractionColorsunivis_ui_interaction::interaction::picking::univis_picking_backend
Where To Look Next
- related example:
widgets_controls - related API index: API Reference
- related migration page: Current Limitations