Class RectTransform
Inheritance
RectTransform
Assembly: UnityEngine.dll
public sealed class RectTransform : Transform, IEnumerable
Properties
Declaration
public Vector2 anchoredPosition { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public Vector3 anchoredPosition3D { get; set; }
Property Value
Declaration
public Vector2 anchorMax { get; set; }
Property Value
Declaration
public Vector2 anchorMin { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public Vector2 offsetMax { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public Vector2 offsetMin { get; set; }
Property Value
Declaration
public Vector2 pivot { get; set; }
Property Value
Declaration
public Rect rect { get; }
Property Value
Declaration
public Vector2 sizeDelta { get; set; }
Property Value
Methods
Declaration
public void ForceUpdateRectTransforms()
|
Improve this Doc
View Source
Declaration
public void GetLocalCorners(Vector3[] fourCornersArray)
Parameters
Type |
Name |
Description |
Vector3[] |
fourCornersArray |
|
|
Improve this Doc
View Source
Declaration
public void GetWorldCorners(Vector3[] fourCornersArray)
Parameters
Type |
Name |
Description |
Vector3[] |
fourCornersArray |
|
|
Improve this Doc
View Source
Declaration
public void SetInsetAndSizeFromParentEdge(RectTransform.Edge edge, float inset, float size)
Parameters
|
Improve this Doc
View Source
Declaration
public void SetSizeWithCurrentAnchors(RectTransform.Axis axis, float size)
Parameters
Events
|
Improve this Doc
View Source
Declaration
public static event RectTransform.ReapplyDrivenProperties reapplyDrivenProperties
Event Type
Implements
Extension Methods