UWidgetTree::TryMoveWidgetToNewTree

Attempts to move a constructed Widget to another tree. Returns true on a successful move.

Windows
MacOS
Linux

References

Module

UMG

Header

/Engine/Source/Runtime/UMG/Public/Blueprint/WidgetTree.h

Include

#include "Blueprint/WidgetTree.h"

Source

/Engine/Source/Runtime/UMG/Private/WidgetTree.cpp

Syntax

static bool TryMoveWidgetToNewTree
(
    UWidget * Widget,
    UWidgetTree * DestinationTree
)

Remarks

Attempts to move a constructed Widget to another tree. Returns true on a successful move.

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