Crate bevy_picking_highlight
source ·Expand description
Adds highlighting functionality to bevy_mod_picking
. Supports highlighting selection state
from bevy_picking_selection
.
Structs
- Adds the [
StandardMaterial
] and [ColorMaterial
] highlighting plugins. - 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.
- 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.
- Makes an entity highlightable with any [
Asset
]. SeeDefaultHighlightingPlugin
for details.
Enums
- Used to override each highlighting state in
Highlight
.
Functions
- Automatically records the “initial” state of highlightable entities.
- Apply highlighting assets to entities based on their state.