Skip to main content

pick_icon

Function pick_icon 

Source
pub fn pick_icon(i: &InspectedEntity) -> Icon
Expand description

Picks an Inspector header icon based on the most “interesting” component on the entity. The fallback is a cube (mesh-like).