ドキュメント

Unity Engine

Unity Engine

paddingRect

The rectangle of the padding area of the element, in the local space of the element.
読み終わるまでの所要時間 1 分最終更新 19日前

Definition

protected Rect paddingRect { get; }

Remarks

In the box model used by UI Toolkit, the padding area refers to the inner rectangle. The inner rectangle includes the VisualElement.contentRect and padding, but excludes the border.