![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <NavigationConfig.h>
Inheritance diagram for FNavigationConfig:Protected Member Functions | |
| virtual SLATE_API float | GetRepeatRateForPressure (float InPressure, int32 InRepeats) const |
| virtual SLATE_API EUINavigation | GetNavigationDirectionFromAnalogInternal (const FAnalogInputEvent &InAnalogEvent) |
| virtual bool | IsAnalogHorizontalKey (const FKey &InKey) const |
| virtual bool | IsAnalogVerticalKey (const FKey &InKey) const |
Protected Member Functions inherited from TSharedFromThis< FNavigationConfig > | |
| TSharedFromThis () | |
| TSharedFromThis (TSharedFromThis const &) | |
| UE_FORCEINLINE_HINT TSharedFromThis & | operator= (TSharedFromThis const &) |
| ~TSharedFromThis () | |
Protected Attributes | |
| TMap< int, FUserNavigationState > | UserNavigationState |
Additional Inherited Members | |
Static Protected Member Functions inherited from TSharedFromThis< FNavigationConfig > | |
| static UE_FORCEINLINE_HINT TSharedRef< OtherType, Mode > | SharedThis (OtherType *ThisPtr) |
| static UE_FORCEINLINE_HINT TSharedRef< OtherType const, Mode > | SharedThis (const OtherType *ThisPtr) |
This class is used to control which FKeys and analog axis should move focus.
| FNavigationConfig::FNavigationConfig | ( | ) |
ctor
|
virtual |
dtor
|
virtual |
|
virtual |
Returns the navigation action corresponding to a key event. This version will handle multiple users correctly
|
virtual |
Gets the navigation direction from a given analog event.
|
protectedvirtual |
Gets the navigation direction from the analog internally.
|
virtual |
Gets the navigation direction from a given key event.
|
protectedvirtual |
Gets the repeat rate of the navigation based on the current pressure being applied. The idea being that if the user moves the stick a little, we would navigate slowly, if they move it a lot, we would repeat the navigation often.
| bool FNavigationConfig::IsAnalogEventBeyondNavigationThreshold | ( | const FAnalogInputEvent & | InAnalogEvent | ) | const |
Returns whether the analog event is beyond the navigation thresholds set in this config.
|
inlineprotectedvirtual |
Reimplemented in FTwinStickNavigationConfig.
|
inlineprotectedvirtual |
Reimplemented in FTwinStickNavigationConfig.
|
inlinevirtual |
Notified when navigation has caused a widget change to occur
|
virtual |
Called when the navigation config is registered with Slate Application
|
virtual |
Called when the navigation config is registered with Slate Application
Notified when users are removed from the system, good chance to clean up any user specific state.
|
virtual |
Simplification of config as string
| FKey FNavigationConfig::AnalogHorizontalKey |
Which Axis Key controls horizontal navigation
| float FNavigationConfig::AnalogNavigationHorizontalThreshold |
| float FNavigationConfig::AnalogNavigationVerticalThreshold |
| FKey FNavigationConfig::AnalogVerticalKey |
Which Axis Key controls vertical navigation
| bool FNavigationConfig::bAnalogNavigation |
Should we respect the analog stick for navigation.
| bool FNavigationConfig::bIgnoreModifiersForNavigationActions |
Should we ignore modifier keys when checking for navigation actions. If false, only unmodified keys will be processed.
| bool FNavigationConfig::bKeyNavigation |
Should we respect keys for navigation.
| bool FNavigationConfig::bTabNavigation |
Should the Tab key perform next and previous style navigation.
| TMap<FKey, EUINavigationAction> FNavigationConfig::KeyActionRules |
Digital key action rules.
| TMap<FKey, EUINavigation> FNavigationConfig::KeyEventRules |
Digital key navigation rules.
|
protected |
Navigation state that we store per user.