Navigation
API > API/Runtime > API/Runtime/UMG
The Slot for the UScaleBoxSlot, contains the widget displayed in a button's single slot
| Name | UScaleBoxSlot |
| Type | class |
| Header File | /Engine/Source/Runtime/UMG/Public/Components/ScaleBoxSlot.h |
| Include Path | #include "Components/ScaleBoxSlot.h" |
Syntax
UCLASS (MinimalAPI)
class UScaleBoxSlot : public UPanelSlot
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UVisual → UPanelSlot → UScaleBoxSlot
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UScaleBoxSlot
(
const FObjectInitializer& ObjectInitializer |
Components/ScaleBoxSlot.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| HorizontalAlignment | TEnumAsByte< EHorizontalAlignment > | The alignment of the object horizontally. | Components/ScaleBoxSlot.h |
|
| VerticalAlignment | TEnumAsByte< EVerticalAlignment > | The alignment of the object vertically. | Components/ScaleBoxSlot.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ScaleBox | TWeakPtr< SScaleBox > | A pointer to the button to allow us to adjust the size, padding...etc at runtime. | Components/ScaleBoxSlot.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void BuildSlot
(
TSharedRef< SScaleBox > InScaleBox |
Builds the underlying slot for the slate ScaleBox. | Components/ScaleBoxSlot.h | |
EHorizontalAlignment GetHorizontalAlignment() |
Components/ScaleBoxSlot.h | ||
EVerticalAlignment GetVerticalAlignment() |
Components/ScaleBoxSlot.h | ||
void SetHorizontalAlignment
(
EHorizontalAlignment InHorizontalAlignment |
Components/ScaleBoxSlot.h |
|
|
void SetPadding
(
FMargin InPadding |
Components/ScaleBoxSlot.h |
|
|
void SetVerticalAlignment
(
EVerticalAlignment InVerticalAlignment |
Components/ScaleBoxSlot.h |
|
Overridden from UPanelSlot
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void SynchronizeProperties() |
Applies all properties to the live slot if possible. | Components/ScaleBoxSlot.h |
Overridden from UVisual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ReleaseSlateResources
(
bool bReleaseChildren |
Components/ScaleBoxSlot.h |
Deprecated Variables
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Padding_DEPRECATED | FMargin | The padding area between the slot and the content it contains. | Components/ScaleBoxSlot.h |