Screen Transform
Screen Transform allows you to manipulate a 2D Scene Object's or Screen Image's size, position, and rotation.
Screen Transform Component
A Screen Transform component is automatically added to the Inspector panel when a 2D Scene Object or Screen Image object is added from the Hierarchy panel.
Properties
Property | Description |
---|---|
Position (X, Y) | The location of the bounding rectangle’s pivot point relative to the screen center. The default value is (0,0). |
Size (Width, Height) | The fixed size of the bounding rectangle based on pixels. The default value is (720, 1280). |
Pivot (X, Y) | The position of the rotation center. The default value is (0.5, 0.5), which is the center of the 2D object.
|
Rotation | The rotation of the image around the Pivot center. The default value is 0. |
Scale 2D (X, Y) | Stretches the image, distorting its aspect ratio. The default value is (1,1). |
Pixels Per Unit | Controls the resolution. The default value is 32 pixels. |