Class RectTransformUtility
Rect Transform Utility methods.
Inheritance
System.Object
RectTransformUtility
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: StansAssets.Foundation
Assembly: cs.temp.dll.dll
Syntax
public static class RectTransformUtility
Methods
RectTransformToScreenSpace(RectTransform)
Method to get Rect related to ScreenSpace, from given RectTransform. This will give the real position of this Rect on screen.
Declaration
public static Rect RectTransformToScreenSpace(RectTransform transform)
Parameters
Type | Name | Description |
---|---|---|
RectTransform | transform | Original RectTransform of some object |
Returns
Type | Description |
---|---|
Rect | New Rect instance. |