ドキュメント

Unity Engine

Unity Engine

sizeDelta

The size of this RectTransform relative to the distances between the anchors.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public Vector2 sizeDelta { get; set; }

Remarks

If the anchors are together, sizeDelta is the same as size. If the anchors are in each of the four corners of the parent, the sizeDelta is how much bigger or smaller the rectangle is compared to its parent.