Navigation
API > API/Runtime > API/Runtime/UMG
Slot for the UOverlay panel. Allows content to be hover above other content.
| Name | UOverlaySlot |
| Type | class |
| Header File | /Engine/Source/Runtime/UMG/Public/Components/OverlaySlot.h |
| Include Path | #include "Components/OverlaySlot.h" |
Syntax
UCLASS (MinimalAPI)
class UOverlaySlot : public UPanelSlot
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UVisual → UPanelSlot → UOverlaySlot
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UOverlaySlot
(
const FObjectInitializer& ObjectInitializer |
Components/OverlaySlot.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| HorizontalAlignment | TEnumAsByte< EHorizontalAlignment > | The alignment of the object horizontally. | Components/OverlaySlot.h |
|
| Padding | FMargin | The padding area between the slot and the content it contains. | Components/OverlaySlot.h |
|
| VerticalAlignment | TEnumAsByte< EVerticalAlignment > | The alignment of the object vertically. | Components/OverlaySlot.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BuildSlot
(
TSharedRef< SOverlay > InOverlay |
Builds the underlying FSlot for the Slate layout panel. | Components/OverlaySlot.h | |
EHorizontalAlignment GetHorizontalAlignment() |
Get the alignment of the object horizontally. | Components/OverlaySlot.h | |
FMargin GetPadding() |
Get padding area between the slot and the content it contains. | Components/OverlaySlot.h | |
EVerticalAlignment GetVerticalAlignment() |
Get the alignment of the object vertically. | Components/OverlaySlot.h | |
void ReplaceContent
(
UWidget* Content |
Replace the slot content. | Components/OverlaySlot.h | |
void SetHorizontalAlignment
(
EHorizontalAlignment InHorizontalAlignment |
Set the alignment of the object horizontally. | Components/OverlaySlot.h |
|
void SetPadding
(
FMargin InPadding |
Set padding area between the slot and the content it contains. | Components/OverlaySlot.h |
|
void SetVerticalAlignment
(
EVerticalAlignment InVerticalAlignment |
Set the alignment of the object vertically. | Components/OverlaySlot.h |
|
Overridden from UPanelSlot
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void SynchronizeProperties() |
Applies all properties to the live slot if possible. | Components/OverlaySlot.h |
Overridden from UVisual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ReleaseSlateResources
(
bool bReleaseChildren |
Components/OverlaySlot.h |