Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/Components
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UVisual
- UPanelSlot
- UUniformGridSlot
References
| Module | UMG |
| Header | /Engine/Source/Runtime/UMG/Public/Components/UniformGridSlot.h |
| Include | #include "Components/UniformGridSlot.h" |
Syntax
class UUniformGridSlot : public UPanelSlot
Remarks
A slot for UUniformGridPanel, these slots all share the same size as the largest slot in the grid.
Constructors
| Type | Name | Description | |
|---|---|---|---|
UUniformGridSlot
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | BuildSlot
(
TSharedRef< SUniformGridPanel > GridPanel |
Builds the underlying FSlot for the Slate layout panel. | |
| int32 | GetColumn () |
Gets the column index of the slot. | |
| EHorizontalAlignment | |||
| int32 | GetRow () |
Gets the row index of the slot | |
| EVerticalAlignment | |||
| void | SetColumn
(
int32 InColumn |
Sets the column index of the slot, this determines what cell the slot is in the panel | |
| void | SetHorizontalAlignment
(
EHorizontalAlignment InHorizontalAlignment |
||
| void | SetRow
(
int32 InRow |
Sets the row index of the slot, this determines what cell the slot is in the panel | |
| void | SetVerticalAlignment
(
EVerticalAlignment InVerticalAlignment |
Overridden from UPanelSlot
| Type | Name | Description | |
|---|---|---|---|
| bool | NudgeByDesigner
(
const FVector2D& NudgeDirection, |
Called by the designer to "nudge" a widget in a direction. | |
| void | SynchronizeFromTemplate
(
const UPanelSlot*const TemplateSlot |
Called by the designer when a design-time widget needs to have changes to its associated template synchronized. | |
| 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 | |
|---|---|---|---|
| int32 | Column | Direct access to Column is deprecated. Please use the getter or setter. | |
| TEnumAsByte< EHorizontalAlignment > | HorizontalAlignment | Direct access to HorizontalAlignment is deprecated. Please use the getter or setter. | |
| int32 | Row | Direct access to Row is deprecated. Please use the getter or setter. | |
| TEnumAsByte< EVerticalAlignment > | VerticalAlignment | Direct access to VerticalAlignment is deprecated. Please use the getter or setter. |