UWidgetInteractionComponent::GetLastHitResult

Gets the last hit result generated by the component. Returns the custom hit result if that was set.

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

const FHitResult & GetLastHitResult() const

Remarks

Gets the last hit result generated by the component. Returns the custom hit result if that was set.

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