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