RectTransform

Description

A RectTransform OverNode is used to handle the position, rotation, and scale of an object inside a Unity Canvas, by interacting with the Unity3D RectTransform Component.

Inheriting much of its behaviour from the Transform Component, RectTransform focuses on handling GUI elements.

RectTransform Exposer

This OverNode is used to expose certain parameters and attributes of a given input Unity 3D RectTransform Component, which are:

NameTypeDescription

Ref

A reference of the input Unity3D RectTransform Component.

Anchor Position

Vector2

The position of the pivot of this RectTransform relative to the anchor reference point.

Anchor Min

Vector2

The normalized position in the parent RectTransform that the lower left corner is anchored to.

Anchor Max

Vector2

The normalized position in the parent RectTransform that the upper right corner is anchored to.

Size

Vector2

The size of this RectTransform relative to the distances between the anchors.

Pivot

Vector2

The normalized position in this RectTransform that it rotates around.

Position

Vector3

The world space position of the Transform

Rotation

Quaternion

The world space rotation of the Transform

Scale

Vector3

The scale of the Transform relative to its parent Transform

Local Position

Vector3

The position of the Transform relative to its parent Transform

Local Rotation

Quaternion

The rotation of the Transform relative to its parent Transform

Lossy Scale

Vector3

The global scale of the object

Set Rect Position

This OverNode is used to modify an existing RectTransform Component, by setting its position. A Space parameter can be selected to instruct the node either to set inLocal Space or World Space.

This Flow OverNode accepts the following input data:

NameTypeDescription

RectTransform

A reference of the input Unity3D RectTransform Component

Position

Vector3

Position value to be set

Space

Enum

Local or World space

and produces the following output data:

NameTypeDescription

Updated Component

A reference of the updated Unity3D Transform Component

Set Rect Rotation

This OverNode is used to modify an existing RectTransform Component, by setting its rotation. A Space parameter can be selected to instruct the node either to set inLocal Space or World Space.

This Flow OverNode accepts the following input data:

NameTypeDescription

RectTransform

A reference of the input Unity3D RectTransform Component

Rotation

Quaternion

Rotation value to be set

Space

Enum

Local or World space

and produces the following output data:

NameTypeDescription

Updated Component

A reference of the updated Unity3D Transform Component

Set Scale

This OverNode is used to modify an existing RectTransform Component, by setting its local scale.

This Flow OverNode accepts the following input data:

NameTypeDescription

RectTransform

A reference of the input Unity3D RectTransform Component

Scale

Vector3

Scale value to be set

and produces the following output data:

NameTypeDescription

Updated Component

A reference of the updated Unity3D RectTransform Component

Set Rect Anchor

This OverNode is used to modify an existing RectTransform Component, by setting its anchor value. An Anchor Type parameter can be selected to instruct the node either to set its anchored position – anchor min or anchor max.

This Flow OverNode accepts the following input data:

NameTypeDescription

RectTransform

A reference of the input Unity3D RectTransform Component

Anchor

Vector2

Anchor value to be set

Anchor Type

Enum

Either Position, Min or Max

and produces the following output data:

NameTypeDescription

Updated Component

A reference of the updated Unity3D RectTransform Component

Set Rect Pivot

This OverNode is used to modify an existing RectTransform Component, by setting its pivot point.

This Flow OverNode accepts the following input data:

NameTypeDescription

RectTransform

A reference of the input Unity3D RectTransform Component

Pivot

Vector2

Pivot value to be set

and produces the following output data:

NameTypeDescription

Updated Component

A reference of the updated Unity3D RectTransform Component

Set Rect Size

This OverNode is used to modify an existing RectTransform Component, by setting its Rect size.

This Flow OverNode accepts the following input data:

NameTypeDescription

RectTransform

A reference of the input Unity3D RectTransform Component

Size

Vector2

Size value to be set

and produces the following output data:

NameTypeDescription

Updated Component

A reference of the updated Unity3D RectTransform Component

Last updated