Skip to main content

calculate_global_rect_scale_children_based

Function calculate_global_rect_scale_children_based 

pub fn calculate_global_rect_scale_children_based(
    window: Res<'_, WindowResource>,
    hierarchy_q: EntitiesHolderQuery<'_, (EntityId, Option<&ChildComponent>, Option<&ParentComponent>), WithFilter<GlobalRectComponent>>,
    local_rect_q: EntitiesHolderQuery<'_, (&LocalRectComponent, Option<&RectChildAlignComponent>)>,
    global_rect_q: EntitiesHolderQuery<'_, &mut GlobalRectComponent>,
)