Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/SWidget
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FNavigationReply OnNavigation
(
const FGeometry& MyGeometry, |
Called when navigation is requested e.g. Left Joystick, Direction Pad, Arrow Keys can generate navigation events. | Widgets/SWidget.h | |
FNavigationReply OnNavigation
(
const FGeometry& MyGeometry, |
Helper function to preview Navigation Replies without an explicit Navigation Event | Widgets/SWidget.h |
OnNavigation(const FGeometry &, const FNavigationEvent &)
Description
Called when navigation is requested e.g. Left Joystick, Direction Pad, Arrow Keys can generate navigation events.
| Name | OnNavigation |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Widgets/SWidget.h |
| Include Path | #include "Widgets/SWidget.h" |
| Source | /Engine/Source/Runtime/SlateCore/Private/Widgets/SWidget.cpp |
virtual FNavigationReply OnNavigation
(
const FGeometry & MyGeometry,
const FNavigationEvent & InNavigationEvent
)
Parameters
| Name | Remarks |
|---|---|
| InNavigationEvent | The navigation event generated |
OnNavigation(const FGeometry &, const EUINavigation)
Description
Helper function to preview Navigation Replies without an explicit Navigation Event
| Name | OnNavigation |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Widgets/SWidget.h |
| Include Path | #include "Widgets/SWidget.h" |
| Source | /Engine/Source/Runtime/SlateCore/Private/Widgets/SWidget.cpp |
FNavigationReply OnNavigation
(
const FGeometry & MyGeometry,
const EUINavigation Type
)