FSlateApplication::GeneratePathToWidgetUnchecked

That this is a relatively slow operation! It can fail, in which case OutWidgetPath.IsValid() will be false.

Windows
MacOS
Linux

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Framework/Application/SlateApplication.h

Include

#include "Framework/Application/SlateApplication.h"

Source

/Engine/Source/Runtime/Slate/Private/Framework/Application/SlateApplication.cpp

Syntax

bool GeneratePathToWidgetUnchecked
(
    TSharedRef< const SWidget > InWidget,
    FWidgetPath & OutWidgetPath,
    EVisibility VisibilityFilter
) const

Remarks

That this is a relatively slow operation! It can fail, in which case OutWidgetPath.IsValid() will be false.

Parameters

Parameter

Description

InWidget

Widget to generate a path to

OutWidgetPath

The generated widget path

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