unreal.Margin

class unreal.Margin(left=0.0, top=0.0, right=0.0, bottom=0.0)

Bases: unreal.StructBase

Describes the space around a Widget.

C++ Source:

  • Module: SlateCore

  • File: Margin.h

Editor Properties: (see get_editor_property/set_editor_property)

  • bottom (float): [Read-Write] Holds the margin to the bottom.

  • left (float): [Read-Write] Holds the margin to the left.

  • right (float): [Read-Write] Holds the margin to the right.

  • top (float): [Read-Write] Holds the margin to the top.

property bottom

[Read-Write] Holds the margin to the bottom.

Type

(float)

property left

[Read-Write] Holds the margin to the left.

Type

(float)

property right

[Read-Write] Holds the margin to the right.

Type

(float)

property top

[Read-Write] Holds the margin to the top.

Type

(float)