Navigation
API > API/Runtime > API/Runtime/UMG
A slot for UUniformGridPanel, these slots all share the same size as the largest slot in the grid.
| Name | UUniformGridSlot |
| Type | class |
| Header File | /Engine/Source/Runtime/UMG/Public/Components/UniformGridSlot.h |
| Include Path | #include "Components/UniformGridSlot.h" |
Syntax
UCLASS (MinimalAPI)
class UUniformGridSlot : public UPanelSlot
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UVisual → UPanelSlot → UUniformGridSlot
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UUniformGridSlot
(
const FObjectInitializer& ObjectInitializer |
Components/UniformGridSlot.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Column | int32 | The column index of the cell this slot is in | Components/UniformGridSlot.h |
|
| HorizontalAlignment | TEnumAsByte< EHorizontalAlignment > | The alignment of the object horizontally. | Components/UniformGridSlot.h |
|
| Row | int32 | The row index of the cell this slot is in | Components/UniformGridSlot.h |
|
| VerticalAlignment | TEnumAsByte< EVerticalAlignment > | The alignment of the object vertically. | Components/UniformGridSlot.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Slot | SUniformGridPanel::FSlot * | A raw pointer to the slot to allow us to adjust the size, padding...etc at runtime. | Components/UniformGridSlot.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void BuildSlot
(
TSharedRef< SUniformGridPanel > GridPanel |
Builds the underlying FSlot for the Slate layout panel. | Components/UniformGridSlot.h | |
int32 GetColumn() |
Gets the column index of the slot. | Components/UniformGridSlot.h | |
EHorizontalAlignment GetHorizontalAlignment() |
Components/UniformGridSlot.h | ||
int32 GetRow() |
Gets the row index of the slot | Components/UniformGridSlot.h | |
EVerticalAlignment GetVerticalAlignment() |
Components/UniformGridSlot.h | ||
void SetColumn
(
int32 InColumn |
Sets the column index of the slot, this determines what cell the slot is in the panel | Components/UniformGridSlot.h |
|
void SetHorizontalAlignment
(
EHorizontalAlignment InHorizontalAlignment |
Components/UniformGridSlot.h |
|
|
void SetRow
(
int32 InRow |
Sets the row index of the slot, this determines what cell the slot is in the panel | Components/UniformGridSlot.h |
|
void SetVerticalAlignment
(
EVerticalAlignment InVerticalAlignment |
Components/UniformGridSlot.h |
|
Overridden from UPanelSlot
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool NudgeByDesigner
(
const FVector2D& NudgeDirection, |
Called by the designer to "nudge" a widget in a direction. | Components/UniformGridSlot.h | |
virtual void SynchronizeFromTemplate
(
const UPanelSlot*const TemplateSlot |
Called by the designer when a design-time widget needs to have changes to its associated template synchronized. | Components/UniformGridSlot.h | |
virtual void SynchronizeProperties() |
Applies all properties to the live slot if possible. | Components/UniformGridSlot.h |
Overridden from UVisual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ReleaseSlateResources
(
bool bReleaseChildren |
Components/UniformGridSlot.h |