clip_check_recursive

Function clip_check_recursive 

Source
pub fn clip_check_recursive(
    point: Vec2,
    entity: Entity,
    clipping_query: &Query<'_, '_, (&ComputedNode, &UiGlobalTransform, &Node)>,
    child_of_query: &Query<'_, '_, &ChildOf, Without<OverrideClip>>,
) -> bool
Expand description

Walk up the tree child-to-parent checking that point is not clipped by any ancestor node. If entity has an OverrideClip component it ignores any inherited clipping and returns true.