FWidgetPath::GeneratePathToWidget

Generate a path from FromWidget to WidgetToFind. The path will not include FromWidget.

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Layout/WidgetPath.h

Include

#include "Layout/WidgetPath.h"

Syntax

template<typename MatcherType>
FArrangedChildren GeneratePathToWidget
(
    const MatcherType & Matcher,
    const FArrangedWidget & FromWidget,
    EUINavigation NavigationType,
    EVisibility VisibilityFilter
)

Remarks

Generate a path from FromWidget to WidgetToFind. The path will not include FromWidget.

Returns

A path from FromWidget to WidgetToFind; will not include FromWidget.

Parameters

Parameter

Description

Matcher

Some struct that has a "bool IsMatch( const TSharedRef& InWidget ) const" method

FromWidget

Widget from which we a building a path.AddItem*

VisibilityFilter

Widgets must have this type of visibility to be included the path

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