Navigation
Unreal Engine C++ API Reference > Runtime > UMG > Components
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UVisual
- UWidget
- UPanelWidget
- UOverlay
- UCommonVisibilitySwitcher
References
Module | UMG |
Header | /Engine/Source/Runtime/UMG/Public/Components/Overlay.h |
Include | #include "Components/Overlay.h" |
Syntax
class UOverlay : public UPanelWidget
Remarks
Allows widgets to be stacked on top of each other, uses simple flow layout for content on each layer.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TSharedPtr< class SOverlay > | MyOverlay |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UOverlay
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
UOverlaySlot * | AddChildToOverlay
(
UWidget* Content |
|
![]() |
bool | ReplaceOverlayChildAt
(
int32 Index, |
Replace the widget at the given index it with a different widget. |
Overridden from UPanelWidget
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
UClass * | GetSlotClass () |
UPanelWidget. |
![]() ![]() |
void | OnSlotAdded
(
UPanelSlot* Slot |
|
![]() ![]() |
void | OnSlotRemoved
(
UPanelSlot* Slot |
Overridden from UWidget
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
const FText | Gets the palette category of the widget | |
![]() ![]() |
TSharedRef< SWidget > | Function implemented by all subclasses of UWidget is called when the underlying SWidget needs to be constructed. |
Overridden from UVisual
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | ReleaseSlateResources
(
bool bReleaseChildren |