unreal.GameViewportWidgetSlot

class unreal.GameViewportWidgetSlot(anchors: Anchors = Ellipsis, offsets: Margin = Ellipsis, alignment: Vector2D = Ellipsis, z_order: int = 0)

Bases: StructBase

The default value fills the entire screen / player region.

C++ Source:

  • Module: UMG

  • File: GameViewportSubsystem.h

Editor Properties: (see get_editor_property/set_editor_property)

  • alignment (Vector2D): [Read-Write] Alignment

  • anchors (Anchors): [Read-Write] Anchors

  • offsets (Margin): [Read-Write] Offsets

  • z_order (int32): [Read-Write] ZOrder: The higher the number, the more on top this widget will be.

property alignment: Vector2D

[Read-Write] Alignment

Type:

(Vector2D)

property anchors: Anchors

[Read-Write] Anchors

Type:

(Anchors)

property offsets: Margin

[Read-Write] Offsets

Type:

(Margin)

property z_order: int

[Read-Write] ZOrder: The higher the number, the more on top this widget will be.

Type:

(int32)