unreal.UniformGridSlot
¶
- class unreal.UniformGridSlot(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
PanelSlot
A slot for UUniformGridPanel, these slots all share the same size as the largest slot in the grid.
C++ Source:
Module: UMG
File: UniformGridSlot.h
Editor Properties: (see get_editor_property/set_editor_property)
column
(int32): [Read-Write] The column index of the cell this slot is inhorizontal_alignment
(HorizontalAlignment): [Read-Write] The alignment of the object horizontally.row
(int32): [Read-Write] The row index of the cell this slot is invertical_alignment
(VerticalAlignment): [Read-Write] The alignment of the object vertically.
- property horizontal_alignment: HorizontalAlignment¶
[Read-Write] The alignment of the object horizontally.
- Type:
- set_column(column) None ¶
Sets the column index of the slot, this determines what cell the slot is in the panel
- Parameters:
column (int32) –
- set_horizontal_alignment(horizontal_alignment) None ¶
Set Horizontal Alignment
- Parameters:
horizontal_alignment (HorizontalAlignment) –
- set_row(row) None ¶
Sets the row index of the slot, this determines what cell the slot is in the panel
- Parameters:
row (int32) –
- set_vertical_alignment(vertical_alignment) None ¶
Set Vertical Alignment
- Parameters:
vertical_alignment (VerticalAlignment) –
- property vertical_alignment: VerticalAlignment¶
[Read-Write] The alignment of the object vertically.
- Type: