Version: 2021.2
언어: 한국어

RectOffset

class in UnityEngine

매뉴얼로 전환

설명

Offsets for rectangles, borders, etc.

Used all over the place by GUIStyle.

변수

bottomBottom edge size.
horizontalShortcut for left + right. (Read Only)
leftLeft edge size.
rightRight edge size.
topTop edge size.
verticalShortcut for top + bottom. (Read Only)

생성자

RectOffsetCreates a new rectangle with offsets.

Public 함수

AddAdd the border offsets to a rect.
RemoveRemove the border offsets from a rect.
ToStringReturns a formatted string for this RectOffset.