FWeakWidgetPath::ToWidgetPath

Make a non-weak WidgetPath out of this WeakWidgetPath.

Windows
MacOS
Linux

References

Module

SlateCore

Header

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

Include

#include "Layout/WidgetPath.h"

Source

/Engine/Source/Runtime/SlateCore/Private/Layout/WidgetPath.cpp

Syntax

EPathResolutionResult::Result ToWidgetPath
(
    FWidgetPath & WidgetPath,
    EInterruptedPathHandling::Type InterruptedPathHandling,
    const FPointerEvent * PointerEvent,
    const EVisibility VisibilityFilter
) const

Remarks

Make a non-weak WidgetPath out of this WeakWidgetPath. Do this by computing all the relevant geometries and converting the weak pointers to TSharedPtr.

Returns

Whether the path is truncated or live - a live path refers to a widget that is currently active and visible, a widget with a truncated path is not.

Parameters

Parameter

Description

WidgetPath

The non-weak path is returned via this.

InterruptedPathHandling

Should interrupted paths result in a truncated path or an invalid 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