文档

Unity Engine

Unity Engine

anchoredPosition3D

The 3D position of the pivot of this RectTransform relative to the anchor reference point.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public Vector3 anchoredPosition3D { get; set; }

Remarks

The anchor reference point is where the anchors are. If the anchors are not together, the four anchor positions are interpolated according to the pivot placement.