Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/UUserWidget
Description
Returns the BlueprintGeneratedClass that generated the WidgetTree. A child UserWidget that extends a parent UserWidget will not have a new WidgetTree. The child UserWidget will have the same WidgetTree as the parent UserWidget. This function returns the parent UserWidget's BlueprintClass.
| Name | GetWidgetTreeOwningClass |
| Type | function |
| Header File | /Engine/Source/Runtime/UMG/Public/Blueprint/UserWidget.h |
| Include Path | #include "Blueprint/UserWidget.h" |
| Source | /Engine/Source/Runtime/UMG/Private/UserWidget.cpp |
UWidgetBlueprintGeneratedClass * GetWidgetTreeOwningClass() const