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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback