Navigation
API > API/Runtime > API/Runtime/UMG
The Slot for the UWrapBox, contains the widget that is flowed vertically
| Name | UWrapBoxSlot |
| Type | class |
| Header File | /Engine/Source/Runtime/UMG/Public/Components/WrapBoxSlot.h |
| Include Path | #include "Components/WrapBoxSlot.h" |
Syntax
UCLASS (MinimalAPI)
class UWrapBoxSlot : public UPanelSlot
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UVisual → UPanelSlot → UWrapBoxSlot
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UWrapBoxSlot
(
const FObjectInitializer& ObjectInitializer |
Components/WrapBoxSlot.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bFillEmptySpace | bool | Should this slot fill the remaining space on the line? | Components/WrapBoxSlot.h |
|
| bForceNewLine | bool | Should this slot start on a new line? | Components/WrapBoxSlot.h |
|
| FillSpanWhenLessThan | float | If the total available space in the wrap panel drops below this threshold, this slot will attempt to fill an entire line. | Components/WrapBoxSlot.h |
|
| HorizontalAlignment | TEnumAsByte< EHorizontalAlignment > | The alignment of the object horizontally. | Components/WrapBoxSlot.h |
|
| Padding | FMargin | The padding area between the slot and the content it contains. | Components/WrapBoxSlot.h |
|
| VerticalAlignment | TEnumAsByte< EVerticalAlignment > | The alignment of the object vertically. | Components/WrapBoxSlot.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Slot | SWrapBox::FSlot * | A raw pointer to the slot to allow us to adjust the size, padding...etc at runtime. | Components/WrapBoxSlot.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void BuildSlot
(
TSharedRef< SWrapBox > InWrapBox |
Builds the underlying FSlot for the Slate layout panel. | Components/WrapBoxSlot.h | |
bool DoesFillEmptySpace() |
Components/WrapBoxSlot.h | ||
bool DoesForceNewLine() |
Components/WrapBoxSlot.h | ||
float GetFillSpanWhenLessThan() |
Components/WrapBoxSlot.h | ||
EHorizontalAlignment GetHorizontalAlignment() |
Components/WrapBoxSlot.h | ||
FMargin GetPadding() |
Components/WrapBoxSlot.h | ||
EVerticalAlignment GetVerticalAlignment() |
Components/WrapBoxSlot.h | ||
void SetFillEmptySpace
(
bool InbFillEmptySpace |
Components/WrapBoxSlot.h |
|
|
void SetFillSpanWhenLessThan
(
float InFillSpanWhenLessThan |
Components/WrapBoxSlot.h |
|
|
void SetHorizontalAlignment
(
EHorizontalAlignment InHorizontalAlignment |
Components/WrapBoxSlot.h |
|
|
void SetNewLine
(
bool InForceNewLine |
Components/WrapBoxSlot.h |
|
|
void SetPadding
(
FMargin InPadding |
Components/WrapBoxSlot.h |
|
|
void SetVerticalAlignment
(
EVerticalAlignment InVerticalAlignment |
Components/WrapBoxSlot.h |
|
Overridden from UPanelSlot
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void SynchronizeProperties() |
Applies all properties to the live slot if possible. | Components/WrapBoxSlot.h |
Overridden from UVisual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ReleaseSlateResources
(
bool bReleaseChildren |
Components/WrapBoxSlot.h |