Deprecated
SetNavigationRule is deprecated. Please use either SetNavigationRuleBase or SetNavigationRuleExplicit or SetNavigationRuleCustom or SetNavigationRuleCustomBoundary.
Module |
|
Header |
/Engine/Source/Runtime/UMG/Public/Components/Widget.h |
Include |
#include "Components/Widget.h" |
Source |
/Engine/Source/Runtime/UMG/Private/Components/Widget.cpp |
void SetNavigationRule
(
EUINavigation Direction,
EUINavigationRule Rule,
FName WidgetToFocus
)
Sets the widget navigation rules for a specific direction. This can only be called on widgets that are in a widget tree.
Parameter |
Description |
---|---|
Direction |
|
Rule |
The rule to use when navigation is taking place |
WidgetToFocus |
When using the Explicit rule, focus on this widget |