space_ex v0.1.1 SpaceEx.UI.RectTransform

A Unity engine Rect Transform for a UI object.

See the Unity manual for more details.

Link to this section Summary

Functions

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

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

Position of the rectangles pivot point relative to the anchors

Position of the rectangles lower left corner relative to the anchors

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

Position of the rectangles pivot point relative to the anchors

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

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

Width and height of the rectangle

Position of the rectangles upper right corner relative to the anchors

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

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

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

Position of the rectangles pivot point relative to the anchors

Position of the rectangles lower left corner relative to the anchors

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

Position of the rectangles pivot point relative to the anchors

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

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

Width and height of the rectangle

Position of the rectangles upper right corner relative to the anchors

Link to this section Functions

Link to this function get_anchor_max(conn, this)

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

Link to this function get_anchor_min(conn, this)

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

Link to this function get_local_position(conn, this)

Position of the rectangles pivot point relative to the anchors.

Link to this function get_lower_left(conn, this)

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

Link to this function get_pivot(conn, this)

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

Link to this function get_position(conn, this)

Position of the rectangles pivot point relative to the anchors.

Link to this function get_rotation(conn, this)

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

Link to this function get_scale(conn, this)

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

Link to this function get_size(conn, this)

Width and height of the rectangle.

Link to this function get_upper_right(conn, this)

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

Link to this function set_anchor(conn, this, value)

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

Link to this function set_anchor_max(conn, this, value)

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

Link to this function set_anchor_min(conn, this, value)

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

Link to this function set_local_position(conn, this, value)

Position of the rectangles pivot point relative to the anchors.

Link to this function set_lower_left(conn, this, value)

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

Link to this function set_pivot(conn, this, value)

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

Link to this function set_position(conn, this, value)

Position of the rectangles pivot point relative to the anchors.

Link to this function set_rotation(conn, this, value)

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

Link to this function set_scale(conn, this, value)

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

Link to this function set_size(conn, this, value)

Width and height of the rectangle.

Link to this function set_upper_right(conn, this, value)

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