bevy_render::view::visibility

Function update_frusta

Source
pub fn update_frusta<T: Component + CameraProjection + Send + Sync + 'static>(
    views: Query<'_, '_, (&GlobalTransform, &T, &mut Frustum), Or<(Changed<GlobalTransform>, Changed<T>)>>,
)
Expand description

Updates Frustum.

This system is used in CameraProjectionPlugin.