Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

ProtoFlux:TranslateRect

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.