ProtoFlux:Rect To XY WH

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

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

If you need to convert your values into a rect, use the Rect From XYWH node instead.

If you need a min and max value from a rect, use the Rect To Min Max node instead. If you need a position and size value from a rect, use the Rect To Position Size node instead.

Inputs

Rect (Rect)

The rect value.

Outputs

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.