unreal.AnchorData

class unreal.AnchorData(offsets: Margin = Ellipsis, anchors: Anchors = Ellipsis, alignment: Vector2D = Ellipsis)

Bases: StructBase

Anchor Data

C++ Source:

  • Module: UMG

  • File: CanvasPanelSlot.h

Editor Properties: (see get_editor_property/set_editor_property)

  • alignment (Vector2D): [Read-Write] Alignment: Alignment is the pivot point of the widget. Starting in the upper left at (0,0), ending in the lower right at (1,1). Moving the alignment point allows you to move the origin of the widget.

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

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

property alignment: Vector2D

[Read-Write] Alignment: Alignment is the pivot point of the widget. Starting in the upper left at (0,0), ending in the lower right at (1,1). Moving the alignment point allows you to move the origin of the widget.

Type:

(Vector2D)

property anchors: Anchors

[Read-Write] Anchors: Anchors.

Type:

(Anchors)

property offsets: Margin

[Read-Write] Offsets: Offset.

Type:

(Margin)