(Redirected from ProtoFlux:Rect To Position Size)
Rect To Position Size
Rects
The Rect To Position Size node takes in a rect value and returns 2 specific float2 values giving a position of the rect's X and Y position, and giving the size of the rect with the literal Width and Height. In contrast to the Rect To Min Max node where it adds the position and size to get a rect's bounding data.
Inputs
Rect (Rect)
The rect value.
Outputs
Position (float2)
Returns the X and Y position of this rect.
Size (float2)
Returns the literal Width and Height size of this rect.