ProtoFlux:Encapsulate Rect

From Resonite Wiki
Revision as of 15:09, 30 June 2024 by AmasterAmaster (talk | contribs) (Added a suggestion note.)
Encapsulate Rect
A
*
B
Rects

The Encapsulate Rect node takes in 2 rect values, and returns a rect that encapsulates both of them into one rect.

If you need to check for masking/cliping of 2 rects, use the Clip Rect node instead.

Inputs

A (Rect)

The first rect.

B (Rect)

The second rect.

Outputs

Rect (Rect)

Returns the encapsulated rect from the 2 provided rects.

Examples