Updated suggestion note. |
Updated suggestion note. |
||
Line 18: | Line 18: | ||
{{Note|If you need to convert your values into a rect, use the [[ProtoFlux:Rect From XY WH|Rect From XYWH]] node instead. | {{Note|If you need to convert your values into a rect, use the [[ProtoFlux:Rect From XY WH|Rect From XYWH]] node instead. | ||
If you need a min and max value from a rect, use the [[ProtoFlux:Rect To Min Max|Rect To Min Max]] node instead.|suggestion}} | If you need a min and max value from a rect, use the [[ProtoFlux:Rect To Min Max|Rect To Min Max]] node instead. | ||
If you need a position and size value from a rect, use the [[ProtoFlux:Rect To Position Size|Rect To Position Size]] node instead.|suggestion}} | |||
== Inputs == | == Inputs == |
Latest revision as of 10:25, 30 June 2024
Rect To XYWH
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.
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.