Navigation
Unreal Engine C++ API Reference > Runtime > UMG > Components
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UVisual
- UPanelSlot
- UOverlaySlot
- UCommonVisibilitySwitcherSlot
References
Module | UMG |
Header | /Engine/Source/Runtime/UMG/Public/Components/OverlaySlot.h |
Include | #include "Components/OverlaySlot.h" |
Syntax
class UOverlaySlot : public UPanelSlot
Remarks
Slot for the UOverlay panel. Allows content to be hover above other content.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
SOverlay::FOverlaySlot * | Slot | A raw pointer to the slot to allow us to adjust the size, padding...etc at runtime. |
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 |
Deprecated Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TEnumAsByte< EHorizontalAlignment > | HorizontalAlignment | Direct access to HorizontalAlignment is deprecated. Please use the getter or setter. |
![]() |
FMargin | Padding | Direct access to Padding is deprecated. Please use the getter or setter. |
![]() |
TEnumAsByte< EVerticalAlignment > | VerticalAlignment | Direct access to VerticalAlignment is deprecated. Please use the getter or setter. |