Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/ISlateViewport
Description
Give the viewport an opportunity to override the navigation behavior. This is called after all the navigation event bubbling is complete and we know a destination.
| Name | HandleNavigation |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Rendering/RenderingCommon.h |
| Include Path | #include "Rendering/RenderingCommon.h" |
virtual bool HandleNavigation
(
const uint32 InUserIndex,
TSharedPtr < SWidget > InDestination
)
whether we handled the navigation
Parameters
| Name | Remarks |
|---|---|
| InDestination | The destination widget |