UWidgetInteractionComponent::GetRelatedComponentsToIgnoreInAutomaticHitTesting

Gets the list of components to ignore during hit testing.

Windows
MacOS
Linux

References

Module

UMG

Header

/Engine/Source/Runtime/UMG/Public/Components/WidgetInteractionComponent.h

Include

#include "Components/WidgetInteractionComponent.h"

Source

/Engine/Source/Runtime/UMG/Private/Components/WidgetInteractionComponent.cpp

Syntax

void GetRelatedComponentsToIgnoreInAutomaticHitTesting
(
    TArray< UPrimitiveComponent * > & IgnorePrimitives
) const

Remarks

Gets the list of components to ignore during hit testing. Which is everything that is a parent/sibling of this component that's not a Widget Component. This is so traces don't get blocked by capsules and such around the player.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss