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 |
TTuple< FVector, FVector2D > GetCylinderHitLocation
&40;
FVector WorldHitLocation,
FVector WorldHitDirection
&41; const
Remarks
When using EWidgetGeometryMode::Cylinder, continues the trace from the front face of the widget component into the cylindrical geometry and returns adjusted hit results information. two hit locations FVector is in world space and a FVector2D is in widget-space.