Navigation
Unreal Engine C++ API Reference > Runtime > UMG > Components > UWidgetComponent
References
Module | UMG |
Header | /Engine/Source/Runtime/UMG/Public/Components/WidgetComponent.h |
Include | #include "Components/WidgetComponent.h" |
Source | /Engine/Source/Runtime/UMG/Private/Components/WidgetComponent.cpp |
void SetWidgetClass
&40;
TSubclassOf< UUserWidget > InWidgetClass
&41;
Remarks
Sets the widget class used to generate the widget for this component