ProtoFlux:Rect From Min Max

From Resonite Wiki
Revision as of 08:40, 30 June 2024 by AmasterAmaster (talk | contribs) (Created a page for the Rect From Min Max node.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Rect From Min Max
Min
Rect
Max
Rects

The Rect From Min Max node takes in 2 specific float2 values, giving the minimum size of the rect, usually just at the X and Y position, and also needing the max size of this rect, which is usually X + Width and Y + Height. Then this node returns a rect value that has the min and max provided.

If you need the min and max values from a rect, use the Rect To Min Max node instead.

If you want to make a rect using specific and separated inputs, use the Rect From XYWH node instead.

Inputs

Min (float2)

The minimum size of this rect (usually returning the X and Y position of this rect).

Max (float2)

The maximum size of this rect (usually returning the X + Width and Y + Height of this rect).

Outputs

Rect (Rect)

Returns the rect value.