Module |
|
Header |
/Engine/Source/Runtime/UMG/Public/Components/WidgetComponent.h |
Include |
#include "Components/WidgetComponent.h" |
Source |
/Engine/Source/Runtime/UMG/Private/Components/WidgetComponent.cpp |
virtual void SetWidget
(
UUserWidget * Widget
)
Sets the widget to use directly. This function will keep track of the widget till the next time it's called with either a newer widget or a nullptr