unreal.OverlaySlot

class unreal.OverlaySlot(outer=None, name='None')

Bases: unreal.PanelSlot

Slot for the UOverlay panel. Allows content to be hover above other content.

C++ Source:

  • Module: UMG
  • File: OverlaySlot.h

Editor Properties: (see get_editor_property/set_editor_property)

  • horizontal_alignment (HorizontalAlignment): [Read-Write] The alignment of the object horizontally.
  • padding (Margin): [Read-Write] The padding area between the slot and the content it contains.
  • vertical_alignment (VerticalAlignment): [Read-Write] The alignment of the object vertically.
horizontal_alignment

(HorizontalAlignment) – [Read-Only] The alignment of the object horizontally.

padding

(Margin) – [Read-Only] The padding area between the slot and the content it contains.

set_horizontal_alignment(horizontal_alignment) → None

Set Horizontal Alignment

Parameters:horizontal_alignment (HorizontalAlignment) –
set_padding(padding) → None

Set Padding

Parameters:padding (Margin) –
set_vertical_alignment(vertical_alignment) → None

Set Vertical Alignment

Parameters:vertical_alignment (VerticalAlignment) –
vertical_alignment

(VerticalAlignment) – [Read-Only] The alignment of the object vertically.