Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/UWidgetInteractionComponent
Description
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.
| Name | GetRelatedComponentsToIgnoreInAutomaticHitTesting |
| Type | function |
| Header File | /Engine/Source/Runtime/UMG/Public/Components/WidgetInteractionComponent.h |
| Include Path | #include "Components/WidgetInteractionComponent.h" |
| Source | /Engine/Source/Runtime/UMG/Private/Components/WidgetInteractionComponent.cpp |
void GetRelatedComponentsToIgnoreInAutomaticHitTesting
(
TArray < UPrimitiveComponent * > & IgnorePrimitives
) const