Version: 2023.2
Experimental: this API is experimental and might be changed or removed in the future.

RectUtils

class in UnityEditor.Experimental.GraphView

切换到手册

描述

用于矩形选项的可用程序。

构造函数

RectUtilsRectUtils 的构造函数。

静态函数

Encompass创建包含两个矩形的矩形。
Inflate创建并返回特定矩形的放大副本。该副本按照指定数量放大。
IntersectsSegment检查线段是否与矩形重叠。

Did you find this page useful? Please give it a rating: