Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/UWidget
Description
Sets the widget navigation rules for a specific direction. This can only be called on widgets that are in a widget tree. This works only for Explicit Rule.
| Name | SetNavigationRuleExplicit |
| Type | function |
| Header File | /Engine/Source/Runtime/UMG/Public/Components/Widget.h |
| Include Path | #include "Components/Widget.h" |
| Source | /Engine/Source/Runtime/UMG/Private/Components/Widget.cpp |
UFUNCTION (BlueprintCallable, Category="Widget")
void SetNavigationRuleExplicit
(
EUINavigation Direction,
UWidget * InWidget
)
Parameters
| Name | Remarks |
|---|---|
| Direction | |
| InWidget | Focus on this widget instance |