ProtoFlux:Clip Rect

From Resonite Wiki
Revision as of 15:25, 30 June 2024 by AmasterAmaster (talk | contribs) (Fixed output description header.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Clip Rect
Rect
*
Mask
Rects

The Clip Rect node takes in 2 rect values, and returns a rect that is inside both of them into one rect.

If you need to check for the entire bounds of 2 rects, use the Encapsulate Rect node instead.

Inputs

Rect (Rect)

The first rect.

Mask (Rect)

The second rect, the one that overlaps the first rect.

Outputs

* (Rect)

Returns the rect that is inside the 2 provided rects.

Examples