Created a page for the Rect To XYWH node. |
Removed extra space. |
||
Line 17: | Line 17: | ||
The '''Rect To XYWH''' node takes in a [[Type:Rect|rect]] [[Value Type|value]] and returns the split up information of the <code>X</code> position, <code>Y</code> position, <code>Width</code> of the rect, and <code>height</code> of the rect as a [[Type:float|float]]. | The '''Rect To XYWH''' node takes in a [[Type:Rect|rect]] [[Value Type|value]] and returns the split up information of the <code>X</code> position, <code>Y</code> position, <code>Width</code> of the rect, and <code>height</code> of the rect as a [[Type:float|float]]. | ||
{{Note|If you need to convert your values into | {{Note|If you need to convert your values into a rect, use the [[ProtoFlux:Rect From XY WH|Rect From XYWH]] node instead.|suggestion}} | ||
== Inputs == | == Inputs == |
Revision as of 08:04, 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.