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: 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

[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

[Read-Write] Anchors: Anchors.

Type

(Anchors)

property offsets

[Read-Write] Offsets: Offset.

Type

(Margin)