terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
RectTransformUtility.cs
Go to the documentation of this file.
1using System;
4
5namespace UnityEngine
6{
7 // Token: 0x02000002 RID: 2
8 [NativeHeader("Modules/UI/RectTransformUtil.h")]
9 [NativeHeader("Runtime/Transform/RectTransform.h")]
10 [StaticAccessor("UI", StaticAccessorType.DoubleColon)]
11 [NativeHeader("Runtime/Camera/Camera.h")]
12 [NativeHeader("Modules/UI/Canvas.h")]
13 public sealed class RectTransformUtility
14 {
15 // Token: 0x06000001 RID: 1 RVA: 0x00002050 File Offset: 0x00000250
17 {
18 if (!true)
19 {
20 }
21 throw new MissingMethodException();
22 }
23
24 // Token: 0x06000002 RID: 2 RVA: 0x00002068 File Offset: 0x00000268
25 public static Rect PixelAdjustRect(RectTransform rectTransform, Canvas canvas)
26 {
27 if (!true)
28 {
29 }
30 throw new MissingMethodException();
31 }
32
33 // Token: 0x06000003 RID: 3 RVA: 0x00002080 File Offset: 0x00000280
35 {
36 if (!true)
37 {
38 }
39 throw new MissingMethodException();
40 }
41
42 // Token: 0x06000004 RID: 4 RVA: 0x00002098 File Offset: 0x00000298
44 {
45 bool flag;
46 return flag;
47 }
48
49 // Token: 0x06000005 RID: 5 RVA: 0x000020A8 File Offset: 0x000002A8
51 {
52 if (!true)
53 {
54 }
55 bool flag;
56 return flag;
57 }
58
59 // Token: 0x06000006 RID: 6 RVA: 0x000020BC File Offset: 0x000002BC
61 {
62 return true;
63 }
64
65 // Token: 0x06000007 RID: 7 RVA: 0x000020D0 File Offset: 0x000002D0
67 {
68 return true;
69 }
70
71 // Token: 0x06000008 RID: 8 RVA: 0x000020E0 File Offset: 0x000002E0
73 {
74 if (!true)
75 {
76 }
77 Ray ray;
78 return ray;
79 }
80
81 // Token: 0x06000009 RID: 9 RVA: 0x000020F4 File Offset: 0x000002F4
83 {
84 if (!true)
85 {
86 }
87 return 1;
88 }
89
90 // Token: 0x0600000A RID: 10 RVA: 0x00002108 File Offset: 0x00000308
91 public static void FlipLayoutOnAxis(RectTransform rect, int axis, bool keepPositioning, bool recursive)
92 {
93 if (!true)
94 {
95 }
96 int childCount = rect.childCount;
97 long num = 0L;
98 if (rect.GetChild((int)num) != null)
99 {
100 return;
101 }
102 int childCount2 = rect.childCount;
103 Vector2 pivot = rect.pivot;
104 if (axis != 0)
105 {
106 return;
107 }
108 }
109
110 // Token: 0x0600000B RID: 11 RVA: 0x00002164 File Offset: 0x00000364
111 public static void FlipLayoutAxes(RectTransform rect, bool keepPositioning, bool recursive)
112 {
113 if (!true)
114 {
115 }
116 int childCount = rect.childCount;
117 long num = 0L;
118 if (rect.GetChild((int)num) != null)
119 {
120 return;
121 }
122 int childCount2 = rect.childCount;
123 Vector2 pivot = rect.pivot;
124 Vector2 sizeDelta = rect.sizeDelta;
125 }
126
127 // Token: 0x0600000C RID: 12 RVA: 0x000021BC File Offset: 0x000003BC
129 {
130 Vector2 vector;
131 return vector;
132 }
133
134 // Token: 0x0600000D RID: 13 RVA: 0x000021CC File Offset: 0x000003CC
135 // Note: this type is marked as 'beforefieldinit'.
137 {
138 }
139
140 // Token: 0x0600000E RID: 14 RVA: 0x000021DC File Offset: 0x000003DC
141 private static void PixelAdjustPoint_Injected(Vector2 point, Transform elementTransform, Canvas canvas, [Out] Vector2 ret)
142 {
143 throw new MissingMethodException();
144 }
145
146 // Token: 0x0600000F RID: 15 RVA: 0x000021F0 File Offset: 0x000003F0
147 private static void PixelAdjustRect_Injected(RectTransform rectTransform, Canvas canvas, [Out] Rect ret)
148 {
149 throw new MissingMethodException();
150 }
151
152 // Token: 0x06000010 RID: 16 RVA: 0x00002204 File Offset: 0x00000404
157
158 // Token: 0x04000001 RID: 1
159 private static readonly Vector3[] s_Corners;
160 }
161}
class f__AnonymousType0<< Count > j__TPar
static Rect PixelAdjustRect(RectTransform rectTransform, Canvas canvas)
static bool RectangleContainsScreenPoint(RectTransform rect, Vector2 screenPoint, Camera cam)
static bool ScreenPointToLocalPointInRectangle(RectTransform rect, Vector2 screenPoint, Camera cam, [Out] Vector2 localPoint)
static bool PointInRectangle_Injected(Vector2 screenPoint, RectTransform rect, Camera cam, Vector4 offset)
static void FlipLayoutAxes(RectTransform rect, bool keepPositioning, bool recursive)
static void PixelAdjustRect_Injected(RectTransform rectTransform, Canvas canvas, [Out] Rect ret)
static bool PointInRectangle(Vector2 screenPoint, RectTransform rect, Camera cam, Vector4 offset)
static readonly Vector3[] s_Corners
static bool ScreenPointToWorldPointInRectangle(RectTransform rect, Vector2 screenPoint, Camera cam, [Out] Vector3 worldPoint)
static void PixelAdjustPoint_Injected(Vector2 point, Transform elementTransform, Canvas canvas, [Out] Vector2 ret)
static Vector2 GetTransposed(Vector2 input)
static Vector2 PixelAdjustPoint(Vector2 point, Transform elementTransform, Canvas canvas)
static bool RectangleContainsScreenPoint(RectTransform rect, Vector2 screenPoint, Camera cam, Vector4 offset)
static Vector2 WorldToScreenPoint(Camera cam, Vector3 worldPoint)
static void FlipLayoutOnAxis(RectTransform rect, int axis, bool keepPositioning, bool recursive)
static Ray ScreenPointToRay(Camera cam, Vector2 screenPos)
Transform GetChild(int index)
Definition Transform.cs:264