ProtoFlux:TranslateRect

From Resonite Wiki
Revision as of 00:37, 21 August 2025 by YoshBot (talk | contribs) (YoshBot moved page ProtoFlux:Translate Rect to ProtoFlux:TranslateRect: Automated: removing spaces from ProtoFlux namespace)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.