Navigation
API > API/Runtime > API/Runtime/SlateCore
Mixin to add the alignment functionality to a base slot that is also a single children.
| Name | TAlignmentSingleWidgetSlotMixin |
| Type | class |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Layout/BasicLayoutWidgetSlot.h |
| Include Path | #include "Layout/BasicLayoutWidgetSlot.h" |
Syntax
template<typename MixedIntoType>
class TAlignmentSingleWidgetSlotMixin
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TAlignmentSingleWidgetSlotMixin
(
WidgetType& InParent |
Layout/BasicLayoutWidgetSlot.h | ||
TAlignmentSingleWidgetSlotMixin
(
WidgetType& InParent, |
Layout/BasicLayoutWidgetSlot.h |
Structs
| Name | Remarks |
|---|---|
| FSlotArgumentsMixin |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| HAlignment | EHorizontalAlignment | Horizontal positioning of child within the allocated slot | Layout/BasicLayoutWidgetSlot.h | |
| VAlignment | EVerticalAlignment | Vertical positioning of child within the allocated slot | Layout/BasicLayoutWidgetSlot.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
EHorizontalAlignment GetHorizontalAlignment() |
Layout/BasicLayoutWidgetSlot.h | ||
EVerticalAlignment GetVerticalAlignment() |
Layout/BasicLayoutWidgetSlot.h | ||
MixedIntoType & HAlign
(
EHorizontalAlignment InHAlignment |
HAlign will be deprecated soon. Use SetVerticalAlignment or construct a new slot with FSlotArguments. | Layout/BasicLayoutWidgetSlot.h | |
void SetHorizontalAlignment
(
EHorizontalAlignment Alignment |
Layout/BasicLayoutWidgetSlot.h | ||
void SetVerticalAlignment
(
EVerticalAlignment Alignment |
Layout/BasicLayoutWidgetSlot.h | ||
MixedIntoType & VAlign
(
EVerticalAlignment InVAlignment |
VAlign will be deprecated soon. Use SetVerticalAlignment or construct a new slot with FSlotArguments. | Layout/BasicLayoutWidgetSlot.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ConstructMixin
(
FSlotArgumentsMixin&& InArgs |
Layout/BasicLayoutWidgetSlot.h |