Navigation
API > API/Runtime > API/Runtime/SlateCore
Represents a single slot, used to perform arrangement operations. Allows layout with an arbitrary child order that can map back to a sequential array.
| Name | FSlotProxy |
| Type | struct |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Layout/LayoutUtils.h |
| Include Path | #include "Layout/LayoutUtils.h" |
Syntax
struct FSlotProxy
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSlotProxy () |
Layout/LayoutUtils.h | ||
FSlotProxy
(
const TSharedRef< SWidget >& InWidget |
Layout/LayoutUtils.h | ||
FSlotProxy
(
const int32 InSlotIndex, |
Constructs a SlotProxy for the given slot index and FSlot. | Layout/LayoutUtils.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ArrangedSize | FVector2f | Contained widget's arranged size (as it was last calculated). | Layout/LayoutUtils.h | |
| DesiredSize | FVector2f | Contained widget's desired size. | Layout/LayoutUtils.h | |
| HorizontalAlignment | EHorizontalAlignment | Horizontal slot alignment. | Layout/LayoutUtils.h | |
| MaxSize | float | Max Size, if any. | Layout/LayoutUtils.h | |
| MinSize | float | Min Size, if any. | Layout/LayoutUtils.h | |
| Padding | FMargin | Padding margin. | Layout/LayoutUtils.h | |
| RenderTransform | TOptional< FSlateRenderTransform > | Last calculated RenderTransform. | Layout/LayoutUtils.h | |
| RenderTransformPivot | FVector2f | Corresponds with the RenderTransform. | Layout/LayoutUtils.h | |
| SizeParam | FSizeParam | Sizing option, ie. Auto, Fill. | Layout/LayoutUtils.h | |
| SlotIndex | int32 | The original index of the slot represented by this proxy. | Layout/LayoutUtils.h | |
| VerticalAlignment | EVerticalAlignment | Vertical slot alignment. | Layout/LayoutUtils.h | |
| Visibility | EVisibility | Current visibility state. | Layout/LayoutUtils.h | |
| Widget | TSharedPtr< SWidget > | Here for convenience and backwards compatibility. Not always valid. | Layout/LayoutUtils.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Performs the same functionality as FGeometry::MakeChild, without the need for the original Widget reference. | Layout/LayoutUtils.h | ||
bool UpdateFromSlot
(
const int32 InSlotIndex, |
Applies the given slot's values to this proxy. | Layout/LayoutUtils.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator==
(
const int32 InSlotIndex |
Equality tested against the slot index. | Layout/LayoutUtils.h |