Crate bevy_picking_highlight

Source
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§

DefaultHighlightingPlugin
Adds the StandardMaterial and ColorMaterial highlighting plugins.
GlobalHighlight
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.
HighlightPlugin
A highlighting plugin, generic over any asset that might be used for rendering the different highlighting states.
HighlightPluginSettings
A resource used to enable or disable picking highlighting.
InitialHighlight
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.
PickHighlight
Makes an entity highlightable with any Asset. See DefaultHighlightingPlugin for details.

Enums§

HighlightKind
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.