Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/Components
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UVisual
- UPanelSlot
- UWidgetSwitcherSlot
References
| Module | UMG |
| Header | /Engine/Source/Runtime/UMG/Public/Components/WidgetSwitcherSlot.h |
| Include | #include "Components/WidgetSwitcherSlot.h" |
Syntax
class UWidgetSwitcherSlot : public UPanelSlot
Remarks
The Slot for the UWidgetSwitcher, contains the widget that is flowed vertically
Constructors
| Type | Name | Description | |
|---|---|---|---|
UWidgetSwitcherSlot
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | BuildSlot
(
TSharedRef< SWidgetSwitcher > InWidgetSwitcher |
Builds the underlying FSlot for the Slate layout panel. | |
| EHorizontalAlignment | |||
| FMargin | GetPadding () |
||
| EVerticalAlignment | |||
| void | SetContent
(
UWidget* NewContent |
Sets the content of this slot, removing existing content if needed. | |
| void | SetHorizontalAlignment
(
EHorizontalAlignment InHorizontalAlignment |
||
| void | SetPadding
(
FMargin InPadding |
||
| void | SetVerticalAlignment
(
EVerticalAlignment InVerticalAlignment |
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. |