Skip to main content

calculate_global_rect_pos

Function calculate_global_rect_pos 

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