ProtoFlux:Rect From Position Size

From Resonite Wiki
Revision as of 10:14, 30 June 2024 by AmasterAmaster (talk | contribs) (Created a page for the Rect From Position Size node.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Rect From Position Size
Position
Rect
Size
Rects

The Rect From Position Size node takes in 2 specific float2 values, a position of the rect's X and Y position, and the size of the rect with the literal Width and Height, then returns a rect value. In contrast to the Rect From Min Max node where it adds the position and size to get a rect's bounding data.

If you need to get a rect's position and size, use the Rect To Position Size node instead.

If you want to make a rect using specific and separated inputs, use the Rect From XYWH node instead.

Inputs

Position (float2)

The X and Y position for this rect.

Size (float2)

The literal Width and Height size for this rect.

Outputs

Rect (Rect)

Returns the rect value.