Added a suggestion note. |
m YoshBot moved page ProtoFlux:Encapsulate Rect to ProtoFlux:EncapsulateRect: Automated: removing spaces from ProtoFlux namespace |
||
(One intermediate revision by one other user not shown) | |||
Line 29: | Line 29: | ||
== Outputs == | == Outputs == | ||
=== | === * ([[Type:Rect|Rect]]) === | ||
Returns the encapsulated rect from the 2 provided rects. | Returns the encapsulated rect from the 2 provided rects. |
Latest revision as of 23:51, 20 August 2025
Encapsulate Rect
Rects
The Encapsulate Rect node takes in 2 rect values, and returns a rect that encapsulates both of them into one rect.
Inputs
A (Rect)
The first rect.
B (Rect)
The second rect.
Outputs
* (Rect)
Returns the encapsulated rect from the 2 provided rects.
Examples
-
An example of the Encapsulate Rect node in action, drawn out using Debug Line nodes, Rect 1 = Red, Rect 2 = Green, Rect 3 = Blue.
-
Some code that draws 3 rects (using Debug Line nodes), Rect 1 = Red, Rect 2 = Green, Rect 3 = Blue.