Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Layout
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Layout/WidgetPath.h |
| Include | #include "Layout/WidgetPath.h" |
Syntax
class FWeakWidgetPath
Remarks
Just like a WidgetPath, but uses weak pointers and does not store geometry.
Variables
Constructors
| Type | Name | Description | |
|---|---|---|---|
FWeakWidgetPath
(
const FWidgetPath& InWidgetPath |
Construct a weak widget path from a widget path. Defaults to an invalid path. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | ContainsWidget
(
const SWidget* WidgetToFind |
||
| TWeakPtr< SWidget > | Get the last (leaf-most) widget in this path; assumes path is valid | ||
| bool | IsValid () |
A valid path has at least one widget in it | |
| FWidgetPath | ToNextFocusedPath
(
EUINavigation NavigationType |
||
| FWidgetPath | ToNextFocusedPath
(
EUINavigation NavigationType, |
||
| FWidgetPath | ToWidgetPath
(
EInterruptedPathHandling::Type InterruptedPathHandling, |
Make a non-weak WidgetPath out of this WeakWidgetPath. | |
| EPathResolutionResult::Result | ToWidgetPath
(
FWidgetPath& WidgetPath, |
Make a non-weak WidgetPath out of this WeakWidgetPath. | |
| TSharedRef< FWidgetPath > | ToWidgetPathRef
(
EInterruptedPathHandling::Type InterruptedPathHandling, |
Make a non-weak WidgetPath out of this WeakWidgetPath. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| EInterruptedPathHandling | Should interrupted paths truncate or return an invalid path? | ||
| EPathResolutionResult |