pub trait Highlightable: Default + Asset {
    fn highlight_defaults(
        materials: Mut<'_, Assets<Self>>
    ) -> DefaultHighlighting<Self>; fn materials(world: &mut World) -> Mut<'_, Assets<Self>> { ... } }
Expand description

This trait makes it possible for highlighting to be generic over any type of asset.

Required Methods

The asset used to highlight the picked object. For a 3D mesh, this would probably be [StandardMaterial].

Provided Methods

Implementations on Foreign Types

Implementors