re_space_view

Function suggest_space_view_for_each_entity

Source
pub fn suggest_space_view_for_each_entity<TVisualizer>(
    ctx: &ViewerContext<'_>,
    space_view: &impl SpaceViewClass,
) -> SpaceViewSpawnHeuristics
Expand description

Spawns a space view for each single entity which is visualizable & indicator-matching for a given visualizer.

This is used as utility by some space view types that want to spawn a space view for every single entity that is visualizable with a given visualizer.