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