unreal.WidgetTransform

class unreal.WidgetTransform(translation=[0.0, 0.0], scale=[1.0, 1.0], shear=[0.0, 0.0], angle=0.0)

Bases: unreal.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
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