FHittestGrid::FindNextFocusableWidget

Finds the next focusable widget by searching through the hit test grid

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Input/HittestGrid.h

Include

#include "Input/HittestGrid.h"

Source

/Engine/Source/Runtime/SlateCore/Private/Input/HittestGrid.cpp

Syntax

TSharedPtr< SWidget > FindNextFocusableWidget
(
    const FArrangedWidget & StartingWidget,
    const EUINavigation Direction,
    const FNavigationReply & NavigationReply,
    const FArrangedWidget & RuleWidget,
    int32 UserIndex
)

Remarks

Finds the next focusable widget by searching through the hit test grid

Parameters

Parameter

Description

StartingWidget

This is the widget we are starting at, and navigating from.

Direction

The direction we should search in.

NavigationReply

The Navigation Reply to specify a boundary rule for the search.

RuleWidget

The Widget that is applying the boundary rule, used to get the bounds of the Rule.

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