Skip to main content
Version: 3.6.0

Screen Transform

Screen Transform allows you to manipulate a 2D Scene Object's or Screen Image's size, position, and rotation.

properties

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

PropertyDescription
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.
  • X: The closer the value is to 0, the farther left the pivot is. The closer the value is to 1, the farther right the object pivot is.
  • Y: The closer the value is to 0, the lower the pivot is. The closer the value is to 1, the higher the pivot is.
RotationThe 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 UnitControls the resolution. The default value is 32 pixels.