Function bevy_render::view::visibility::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 system sets VisibilitySystems::UpdateProjectionFrusta
,
VisibilitySystems::UpdatePerspectiveFrusta
, and
VisibilitySystems::UpdateOrthographicFrusta
.