unreal.SlateIMViewportRootLayout

class unreal.SlateIMViewportRootLayout(anchors: Anchors = Ellipsis, offset: Vector2f = Ellipsis, alignment: Vector2f = Ellipsis, size: Vector2f | None = Ellipsis, z_order: int = 0, scale: float = 0.0)

Bases: StructBase

SlateIM

C++ Source:

  • Plugin: SlateIM

  • Module: SlateIM

  • File: SlateIMParameters.h

Editor Properties: (see get_editor_property/set_editor_property)

  • alignment (Vector2f): [Read-Write] How the root is aligned to its anchor (normalized units)

  • anchors (Anchors): [Read-Write] How to anchor the root within the viewport (normalized units)

  • offset (Vector2f): [Read-Write] Offset the root from the anchored position in the viewport (in slate units)

  • scale (float): [Read-Write] Global scale to apply within the viewport

  • size (Optional[Vector2f]): [Read-Write] Optional set the size (in slate units) of the root in the viewport. When unset, the root will auto-size for its content.

  • z_order (int32): [Read-Write] The ZOrder of the SlateIM widget in the viewport

property alignment: Vector2f

[Read-Write] How the root is aligned to its anchor (normalized units)

Type:

(Vector2f)

property anchors: Anchors

[Read-Write] How to anchor the root within the viewport (normalized units)

Type:

(Anchors)

property offset: Vector2f

[Read-Write] Offset the root from the anchored position in the viewport (in slate units)

Type:

(Vector2f)

property scale: float

[Read-Write] Global scale to apply within the viewport

Type:

(float)

property size: Vector2f | None

[Read-Write] Optional set the size (in slate units) of the root in the viewport. When unset, the root will auto-size for its content.

Type:

(Optional[Vector2f])

property z_order: int

[Read-Write] The ZOrder of the SlateIM widget in the viewport

Type:

(int32)