UViewport::RebuildWidget

Function implemented by all subclasses of [UWidget](API\Runtime\UMG\Components\UWidget) is called when the underlying [SWidget](API\Runtime\SlateCore\Widgets\SWidget) needs to be constructed.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

UWidget::RebuildWidget()

UViewport::RebuildWidget()

References

Module

UMG

Header

/Engine/Source/Runtime/UMG/Public/Components/Viewport.h

Include

#include "Components/Viewport.h"

Source

/Engine/Source/Runtime/UMG/Private/Components/Viewport.cpp

Syntax

virtual TSharedRef< SWidget > RebuildWidget()

Remarks

Function implemented by all subclasses of UWidget is called when the underlying SWidget needs to be constructed.