Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/Components > API/Runtime/UMG/Components/UWidgetComponent
References
Module | UMG |
Header | /Engine/Source/Runtime/UMG/Public/Components/WidgetComponent.h |
Include | #include "Components/WidgetComponent.h" |
Source | /Engine/Source/Runtime/UMG/Private/Components/WidgetComponent.cpp |
virtual void GetLocalHitLocation
&40;
FVector WorldHitLocation,
FVector2D & OutLocalHitLocation
&41; const
Remarks
Converts a world-space hit result to a hit location on the widget
Parameters
Name | Description |
---|---|
HitResult | The hit on this widget in the world |
(Out) | The transformed 2D hit location on the widget |