ProtoFlux:ClipRect: Difference between revisions

From Resonite Wiki
Created a page for the Clip Rect node.
 
m YoshBot moved page ProtoFlux:Clip Rect to ProtoFlux:ClipRect: Automated: removing spaces from ProtoFlux namespace
 
(One intermediate revision by one other user not shown)
Line 29: Line 29:
== Outputs ==
== Outputs ==


=== Rect ([[Type:Rect|Rect]]) ===
=== * ([[Type:Rect|Rect]]) ===


Returns the rect that is inside the 2 provided rects.
Returns the rect that is inside the 2 provided rects.

Latest revision as of 23:45, 20 August 2025

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