Function bevy::ui::ui_layout_system

pub fn ui_layout_system(
    primary_window: Query<'_, '_, (Entity, &Window), With<PrimaryWindow>>,
    cameras: Query<'_, '_, (Entity, &Camera)>,
    default_ui_camera: DefaultUiCamera<'_, '_>,
    ui_scale: Res<'_, UiScale>,
    scale_factor_events: EventReader<'_, '_, WindowScaleFactorChanged>,
    resize_events: EventReader<'_, '_, WindowResized>,
    ui_surface: ResMut<'_, UiSurface>,
    root_node_query: Query<'_, '_, (Entity, Option<&TargetCamera>), (With<Node>, Without<Parent>)>,
    style_query: Query<'_, '_, (Entity, Ref<'_, Style>, Option<&mut ContentSize>, Option<&TargetCamera>), With<Node>>,
    children_query: Query<'_, '_, (Entity, Ref<'_, Children>), With<Node>>,
    just_children_query: Query<'_, '_, &Children>,
    removed_components: UiLayoutSystemRemovedComponentParam<'_, '_>,
    node_transform_query: Query<'_, '_, (&mut Node, &mut Transform)>,
    text_pipeline: ResMut<'_, TextPipeline>,
Expand description

Updates the UI’s layout tree, computes the new layout geometry and then updates the sizes and transforms of all the UI nodes.