FWidgetPath::ExtendPathTo

Extend the current path such that it reaches some widget that qualifies as a Match The widget to match must be a descendant of the last widget currently in the path.

Windows
MacOS
Linux

References

Module

SlateCore

Header

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

Include

#include "Layout/WidgetPath.h"

Syntax

template<typename MatcherType>
bool ExtendPathTo
(
    const MatcherType & Matcher,
    EVisibility VisibilityFilter
)

Remarks

Extend the current path such that it reaches some widget that qualifies as a Match The widget to match must be a descendant of the last widget currently in the path.

Returns

true if successful; false otherwise.

Parameters

Parameter

Description

Matcher

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

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