Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/Extensions
Inheritance Hierarchy
- UObject
- UUIComponent
References
| Module | UMG |
| Header | /Engine/Source/Runtime/UMG/Public/Extensions/UIComponent.h |
| Include | #include "Extensions/UIComponent.h" |
Syntax
UCLASS (Abstract, MinimalAPI, Experimental)
class UUIComponent : public UObject
Remarks
This is the base class to for UI Components that can be added to any UMG Widgets in UMG Designer.When initialized, it will pass the widget it's attached to.
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Construct () |
Called when the owner widget is constructed. | |
| void | Destruct () |
Called when the owner widget is destructed. | |
| TWeakObjectPtr< UWidget > | GetOwner () |
Returns the Owner Widget this component is attached to. | |
| bool | Initialize
(
UWidget* target |
Called when the owner widget is inititalized. | |
| void | OnConstruct () |
||
| void | OnDestruct () |
||
| bool | OnInitialize () |