Rect Transform

class RectTransform

A Unity engine Rect Transform for a UI object. See the Unity manual for more details.

Tuple<Double, Double> Position { get; set; }

Position of the rectangles pivot point relative to the anchors.

Game Scenes:

All

Tuple<Double, Double, Double> LocalPosition { get; set; }

Position of the rectangles pivot point relative to the anchors.

Game Scenes:

All

Tuple<Double, Double> Size { get; set; }

Width and height of the rectangle.

Game Scenes:

All

Tuple<Double, Double> UpperRight { get; set; }

Position of the rectangles upper right corner relative to the anchors.

Game Scenes:

All

Tuple<Double, Double> LowerLeft { get; set; }

Position of the rectangles lower left corner relative to the anchors.

Game Scenes:

All

Tuple<Double, Double> Anchor { set; }

Set the minimum and maximum anchor points as a fraction of the size of the parent rectangle.

Game Scenes:

All

Tuple<Double, Double> AnchorMax { get; set; }

The anchor point for the lower left corner of the rectangle defined as a fraction of the size of the parent rectangle.

Game Scenes:

All

Tuple<Double, Double> AnchorMin { get; set; }

The anchor point for the upper right corner of the rectangle defined as a fraction of the size of the parent rectangle.

Game Scenes:

All

Tuple<Double, Double> Pivot { get; set; }

Location of the pivot point around which the rectangle rotates, defined as a fraction of the size of the rectangle itself.

Game Scenes:

All

Tuple<Double, Double, Double, Double> Rotation { get; set; }

Rotation, as a quaternion, of the object around its pivot point.

Game Scenes:

All

Tuple<Double, Double, Double> Scale { get; set; }

Scale factor applied to the object in the x, y and z dimensions.

Game Scenes:

All