unreal.DMXPixelMappingLayoutScript_GridLayout

class unreal.DMXPixelMappingLayoutScript_GridLayout(outer: Object | None = None, name: Name | str = 'None')

Bases: DMXPixelMappingLayoutScript

Arranges the components in a grid

C++ Source:

  • Plugin: DMXPixelMapping

  • Module: DMXPixelMappingRuntime

  • File: DMXPixelMappingLayoutScript_GridLayout.h

Editor Properties: (see get_editor_property/set_editor_property)

  • columns (int32): [Read-Write] Num Columns in the grid

  • distribution (DMXPixelMappingDistribution): [Read-Write] How cells are distributed, compared to their previous distribution

  • horizontal_alignment (HorizontalAlignment): [Read-Write] Horizontal text alignment

  • num_tokens (int32): [Read-Write] The number of tokens in the Layout.

  • padding (float): [Read-Write] Padding of the cells

  • parent_component_position (Vector2D): [Read-Write] The position of the parent component where the components that are being layouted reside in.

  • parent_component_size (Vector2D): [Read-Write] The size of the parent component where the components that are being layouted reside in.

  • parent_rotation (double): [Read-Write] The rotation of the parent component where the components that are being layouted reside in. Note, the position property does not consider this rotation to ease calculations.

  • rows (int32): [Read-Write] Num Rows in the grid

  • texture_size (Vector2D): [Read-Write] The size of the texture this component is mapping.

  • vertical_alignment (VerticalAlignment): [Read-Write] Vertical text alignment