contentRect
The rectangle of the content area of the element, in the local space of the element. (Read Only)
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Property
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public Rect contentRect { get; }
Remarks
In the box model used by UI Toolkit, the content area refers to the inner rectangle for displaying text and images. It excludes the borders and the padding.