FSlateApplication::SetNavigationConfigFactory

Sets the navigation config factory.

Windows
MacOS
Linux

Deprecated

  • Returning to a simpler method of registering navigation configs., is what you should use now.

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Framework/Application/SlateApplication.h

Include

#include "Framework/Application/SlateApplication.h"

Syntax

void SetNavigationConfigFactory
(
    TFunction< TSharedRef< FNavigationConfig >()> InNavigationConfigFactory
)

Remarks

Sets the navigation config factory. If you need to control navigation config dynamically, you should subclass FNavigationConfig to be dynamically adjustable to your needs.

You'll need to store per user state information yourself if you have any, like we do for repeats with the analog stick in FNavigationConfig::UserNavigationState, than Slate creating a new Navigation Config per user.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss