unreal.WidgetTransform

class unreal.WidgetTransform(translation: Vector2D = Ellipsis, scale: Vector2D = Ellipsis, shear: Vector2D = Ellipsis, angle: float = 0.0)

Bases: StructBase

Describes the standard transformation of a widget

C++ Source:

  • Module: UMG

  • File: WidgetTransform.h

Editor Properties: (see get_editor_property/set_editor_property)

  • angle (float): [Read-Write] The angle in degrees to rotate

  • scale (Vector2D): [Read-Write] The scale to apply to the widget

  • shear (Vector2D): [Read-Write] The amount to shear the widget in slate units

  • translation (Vector2D): [Read-Write] The amount to translate the widget in slate units

property angle: float

[Read-Write] The angle in degrees to rotate

Type:

(float)

property scale: Vector2D

[Read-Write] The scale to apply to the widget

Type:

(Vector2D)

property shear: Vector2D

[Read-Write] The amount to shear the widget in slate units

Type:

(Vector2D)

property translation: Vector2D

[Read-Write] The amount to translate the widget in slate units

Type:

(Vector2D)