UWidgetInteractionComponent::SetCustomHitResult

Set custom hit result.

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 SetCustomHitResult
(
    const FHitResult & HitResult
)

Remarks

Set custom hit result. This is only taken into account if InteractionSource is set to EWidgetInteractionSource::Custom.

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