FSceneViewport::HandleNavigation

Give the viewport an opportunity to override the navigation behavior.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

ISlateViewport::HandleNavigation()

FSceneViewport::HandleNavigation()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/Slate/SceneViewport.h

Include

#include "Slate/SceneViewport.h"

Source

/Engine/Source/Runtime/Engine/Private/Slate/SceneViewport.cpp

Syntax

virtual bool HandleNavigation
(
    const uint32 InUserIndex,
    TSharedPtr< SWidget > InDestination
)

Remarks

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.

Returns

whether we handled the navigation

Parameters

Parameter

Description

InDestination

The destination widget