unreal.AnchorData

class unreal.AnchorData(offsets=[0.0, 0.0, 0.0, 0.0], anchors=[[0.0, 0.0], [0.0, 0.0]], alignment=[0.0, 0.0])

Bases: unreal.StructBase

Anchor Data

C++ Source:

  • Module: UMG
  • File: CanvasPanelSlot.h

Editor Properties: (see get_editor_property/set_editor_property)

  • alignment (Vector2D): [Read-Write] 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.
  • offsets (Margin): [Read-Write] Offset.
alignment

(Vector2D) – [Read-Write] 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.

offsets

(Margin) – [Read-Write] Offset.