Skip to main content

update_spot_light_frusta

Function update_spot_light_frusta 

Source
pub fn update_spot_light_frusta(
    views: Query<'_, '_, (&GlobalTransform, &SpotLight, &mut Frustum, &ViewVisibility), Or<(Changed<GlobalTransform>, Changed<SpotLight>, Changed<ViewVisibility>)>>,
)
Expand description

Updates the frusta for all visible shadow mapped SpotLights.