UWidgetTree::ConstructWidget

Constructs the widget, and adds it to the tree.

Windows
MacOS
Linux

References

Module

UMG

Header

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

Include

#include "Blueprint/WidgetTree.h"

Syntax

template<typename WidgetT>
WidgetT * ConstructWidget
(
    TSubclassOf< UWidget > WidgetClass,
    FName WidgetName
)

Remarks

Constructs the widget, and adds it to the tree.

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