Function bevy::text::calculate_bounds_text2d
source · pub fn calculate_bounds_text2d(
commands: Commands<'_, '_>,
text_to_update_aabb: Query<'_, '_, (Entity, &TextLayoutInfo, &Anchor, Option<&mut Aabb>), (Changed<TextLayoutInfo>, Without<NoFrustumCulling>)>
)
Expand description
System calculating and inserting an Aabb
component to entities with some
TextLayoutInfo
and Anchor
components, and without a NoFrustumCulling
component.
Used in system set VisibilitySystems::CalculateBounds
.