Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#
Experimental: this API is experimental and might be changed or removed in the future.

RectUtils.Encompass

Declaration

public static Rect Encompass(Rect a, Rect b);

Parameters

a Rect a.
b Rect b.

Returns

Rect New rectangle.

Description

Create rectangle that encompasses two rectangles.