unreal.UniformGridSlot
¶
-
class
unreal.
UniformGridSlot
(outer=None, name='None')¶ Bases:
unreal.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
column
¶ [Read-Only] The column index of the cell this slot is in
- Type
(int32)
-
property
horizontal_alignment
¶ [Read-Only] The alignment of the object horizontally.
- Type
-
property
row
¶ [Read-Only] The row index of the cell this slot is in
- Type
(int32)
-
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
¶ [Read-Only] The alignment of the object vertically.
- Type