![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <WidgetPath.h>
Classes | |
| struct | EInterruptedPathHandling |
| struct | EPathResolutionResult |
Public Attributes | |
| TArray< TWeakPtr< SWidget > > | Widgets |
| TWeakPtr< SWindow > | Window |
Just like a WidgetPath, but uses weak pointers and does not store geometry.
| FWeakWidgetPath::FWeakWidgetPath | ( | const FWidgetPath & | InWidgetPath = FWidgetPath() | ) |
Construct a weak widget path from a widget path. Defaults to an invalid path.
Get the last (leaf-most) widget in this path; assumes path is valid
|
inline |
A valid path has at least one widget in it
| FWidgetPath FWeakWidgetPath::ToNextFocusedPath | ( | EUINavigation | NavigationType | ) | const |
| NavigationType | Direction in which to move the focus (only for use with EUINavigation::Next and EUINavigation::Previous). |
| FWidgetPath FWeakWidgetPath::ToNextFocusedPath | ( | EUINavigation | NavigationType, |
| const FNavigationReply & | NavigationReply, | ||
| const FArrangedWidget & | RuleWidget | ||
| ) | const |
| NavigationType | Direction in which to move the focus (only for use with EUINavigation::Next and EUINavigation::Previous). |
| NavigationReply | The NavigationReply that the RuleWidget provided during the bubbled navigation event |
| RuleWidget | The ArrangedWidget or the widget that provided the NavigationReply |
| FWidgetPath FWeakWidgetPath::ToWidgetPath | ( | EInterruptedPathHandling::Type | InterruptedPathHandling = EInterruptedPathHandling::Truncate, |
| const FPointerEvent * | PointerEvent = nullptr, |
||
| const EVisibility | VisibilityFilter = EVisibility::Visible |
||
| ) | const |
Make a non-weak WidgetPath out of this WeakWidgetPath. Do this by computing all the relevant geometries and converting the weak pointers to TSharedPtr.
| InterruptedPathHandling | Should interrupted paths result in a truncated path or an invalid path |
Make a non-weak WidgetPath out of this WeakWidgetPath. Do this by computing all the relevant geometries and converting the weak pointers to TSharedPtr.
| FWeakWidgetPath::EPathResolutionResult::Result FWeakWidgetPath::ToWidgetPath | ( | FWidgetPath & | WidgetPath, |
| EInterruptedPathHandling::Type | InterruptedPathHandling = EInterruptedPathHandling::Truncate, |
||
| const FPointerEvent * | PointerEvent = nullptr, |
||
| const EVisibility | VisibilityFilter = EVisibility::Visible |
||
| ) | const |
Make a non-weak WidgetPath out of this WeakWidgetPath. Do this by computing all the relevant geometries and converting the weak pointers to TSharedPtr.
| WidgetPath | The non-weak path is returned via this. |
| InterruptedPathHandling | Should interrupted paths result in a truncated path or an invalid path. |
| TSharedRef< FWidgetPath > FWeakWidgetPath::ToWidgetPathRef | ( | EInterruptedPathHandling::Type | InterruptedPathHandling = EInterruptedPathHandling::Truncate, |
| const FPointerEvent * | PointerEvent = nullptr, |
||
| const EVisibility | VisibilityFilter = EVisibility::Visible |
||
| ) | const |
Make a non-weak WidgetPath out of this WeakWidgetPath. Do this by computing all the relevant geometries and converting the weak pointers to TSharedPtr.
| InterruptedPathHandling | Should interrupted paths result in a truncated path or an invalid path |