Skip to main content

add_light_probe_and_decal_aabbs

Function add_light_probe_and_decal_aabbs 

Source
pub fn add_light_probe_and_decal_aabbs(
    commands: Commands<'_, '_>,
    light_probes_and_decals_query: Query<'_, '_, Entity, (Or<(With<ClusteredDecal>, With<LightProbe>)>, Without<Aabb>)>,
)
Expand description

A system that adds AABBs to light probes and decals so that the visibility determination works for them.