Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/Extensions
Inheritance Hierarchy
- UObject
- UUserWidgetExtension
- UUIComponentContainer
References
| Module | UMG |
| Header | /Engine/Source/Runtime/UMG/Public/Extensions/UIComponentContainer.h |
| Include | #include "Extensions/UIComponentContainer.h" |
Syntax
UCLASS (NotBlueprintType, Experimental)
class UUIComponentContainer : public UUserWidgetExtension
Remarks
Class that holds all the UIComponents for a UUserWidget.
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddComponent
(
FName TargetName, |
||
| TArray< UUIComponent * > | GetExtensionsFor
(
FName TargetName |
||
| bool | IsEmpty () |
||
| void | OnPreviewContentChanged
(
TSharedRef< SWidget > NewContent |
||
| void | RemoveAllComponentsFor
(
FName TargetName |
||
| void | RemoveComponent
(
FName TargetName, |
||
| void | RenameWidget
(
FName OldName, |
Overridden from UUserWidgetExtension
| Type | Name | Description | |
|---|---|---|---|
| void | Construct () |
Extend the UUserWidget::Construct function | |
| void | Destruct () |
Extend the UUserWidget::Destruct function | |
| void | Initialize () |
Extend the UUserWidget::Initialize function |