ドキュメント

Unity Engine

Unity Engine

RectUtils

Utilities for rectangle selections.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public class RectUtils

Constructors

Constructor

Description

RectUtils()RectUtils' constructor.

Static Methods

Method

Description

EncompassCreate rectangle that encompasses two rectangles.
InflateCreates and returns an enlarged copy of the specified rectangle. The copy is enlarged by the specified amounts.
IntersectsSegmentCheck if a line segment overlaps a rectangle.