Choose your operating system:
Windows
macOS
Linux
| ISlateViewport::HandleNavigation()
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/Slate/SceneViewport.h |
Include |
#include "Slate/SceneViewport.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Slate/SceneViewport.cpp |
virtual bool HandleNavigation
(
const uint32 InUserIndex,
TSharedPtr< SWidget > InDestination
)
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.
whether we handled the navigation
Parameter |
Description |
---|---|
InDestination |
The destination widget |