Skip to main content

update_point_light_frusta

Function update_point_light_frusta 

Source
pub fn update_point_light_frusta(
    views: Query<'_, '_, (&GlobalTransform, &PointLight, &mut CubemapFrusta, &ViewVisibility), Or<(Changed<GlobalTransform>, Changed<PointLight>, Changed<ViewVisibility>)>>,
)
Expand description

Updates the frusta for all visible shadow mapped PointLights.