Navigation
API > API/Runtime > API/Runtime/UMG
The Slot for the UBorderSlot, contains the widget displayed in a border's single slot
| Name | UBorderSlot |
| Type | class |
| Header File | /Engine/Source/Runtime/UMG/Public/Components/BorderSlot.h |
| Include Path | #include "Components/BorderSlot.h" |
Syntax
UCLASS (MinimalAPI)
class UBorderSlot : public UPanelSlot
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UVisual → UPanelSlot → UBorderSlot
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UBorderSlot
(
const FObjectInitializer& ObjectInitializer |
Components/BorderSlot.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Border | TWeakPtr< SBorder > | A pointer to the border to allow us to adjust the size, padding...etc at runtime. | Components/BorderSlot.h | |
| UBorder | friend | Components/BorderSlot.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void BuildSlot
(
TSharedRef< SBorder > InBorder |
Builds the underlying slot for the slate border. | Components/BorderSlot.h | |
EHorizontalAlignment GetHorizontalAlignment() |
Components/BorderSlot.h | ||
FMargin GetPadding() |
Components/BorderSlot.h | ||
EVerticalAlignment GetVerticalAlignment() |
Components/BorderSlot.h | ||
void SetHorizontalAlignment
(
EHorizontalAlignment InHorizontalAlignment |
Components/BorderSlot.h |
|
|
void SetPadding
(
FMargin InPadding |
Components/BorderSlot.h |
|
|
void SetVerticalAlignment
(
EVerticalAlignment InVerticalAlignment |
Components/BorderSlot.h |
|
Overridden from UPanelSlot
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void SynchronizeProperties() |
Applies all properties to the live slot if possible. | Components/BorderSlot.h |
Overridden from UVisual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ReleaseSlateResources
(
bool bReleaseChildren |
Components/BorderSlot.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Components/BorderSlot.h |