Expand description
Adds highlighting functionality to bevy_mod_picking
. Supports highlighting selection state
from bevy_picking_selection
.
Modules§
- prelude
- Common imports for
bevy_picking_highlight
.
Structs§
- Default
Highlighting Plugin - Adds the
StandardMaterial
andColorMaterial
highlighting plugins. - Global
Highlight - Resource that defines the global default highlighting assets to use. This can be overridden
per-entity with the
Highlight
component. - Highlight
- Overrides the global highlighting material for an entity. See
PickHighlight
. - Highlight
Plugin - A highlighting plugin, generic over any asset that might be used for rendering the different highlighting states.
- Highlight
Plugin Settings - A resource used to enable or disable picking highlighting.
- Initial
Highlight - Component used to track the initial asset state of a highlightable object. This is needed to return the highlighting asset back to its original state after highlighting it.
- Pick
Highlight - Makes an entity highlightable with any
Asset
. SeeDefaultHighlightingPlugin
for details.
Enums§
- Highlight
Kind - Used to override each highlighting state in
Highlight
.
Functions§
- get_
initial_ highlight_ asset - Automatically records the “initial” state of highlightable entities.
- update_
highlight_ assets - Apply highlighting assets to entities based on their state.