ProtoFlux:Rect From XY WH

From Resonite Wiki
Rect From XYWH
X
Rect
Y
Width
Height
Rects

The Rect From XYWH node takes in the X position, Y position, Width of the rect, and height of the rect as a float and returns a rect value.

If you need to split your values from a rect, use the Rect To XYWH node instead.

If you want to create a rect using a min and max value, use the Rect From Min Max node instead. If you want to create a rect using a position and size value, use the Rect From Position Size node instead.

Inputs

X (float)

The X position (top left of the rect)

Y (float)

The Y position (top left of the rect)

Width (float)

The width of the rect.

Height (float)

The height of the rect.

Outputs

Rect (Rect)

The rect value.