ProtoFlux:Rect To XY WH

From Resonite Wiki
Revision as of 10:25, 30 June 2024 by AmasterAmaster (talk | contribs) (Updated suggestion note.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.