ProtoFlux:Translate Rect

From Resonite Wiki
Translate Rect
Rect
*
Offset
Rects

The Translate Rect node takes in a rect value and an offset (float2) which corresponds with the X and Y position of the entire rect, and returns a rect that has been translated to its new location.

Inputs

Rect (Rect)

The rect to offset.

Offset (float2)

The X and Y position to shift the rect in a direction.

Outputs

* (Rect)

Returns the translated rect.