-
-
Notifications
You must be signed in to change notification settings - Fork 107
Widget Transformations
Roman Shapiro edited this page Jun 9, 2022
·
3 revisions
Every widget has following transformation properties:
Name | Type | Default | Description |
---|---|---|---|
Scale | Vector2 | 1, 1 | Scaling |
Rotate | float | 0 | Rotation angle in degrees |
TransformOrigin | Vector2 | 0.5, 0.5 | Normalized origin of every transform. Default value(0.5, 0.5) means that it is set to the center of the widget |
Desktop has same set of properties. Though default value for the TransformOrigin is (0, 0), which is top-left corner.