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

◆ GetBounds()

Bounds UnityEngine.UI.ScrollRect.GetBounds ( )
inlineprivate

Definition at line 1165 of file ScrollRect.cs.

1166 {
1167 RectTransform content = this.m_Content;
1168 if (!true)
1169 {
1170 }
1171 RectTransform content2 = this.m_Content;
1172 Vector3[] corners = this.m_Corners;
1173 content2.GetWorldCorners(corners);
1174 Matrix4x4 worldToLocalMatrix = this.viewRect.worldToLocalMatrix;
1175 Vector3[] corners2 = this.m_Corners;
1176 Bounds bounds;
1177 return bounds;
1178 }
class f__AnonymousType0<< Count > j__TPar
Matrix4x4 worldToLocalMatrix
Definition Transform.cs:177
readonly Vector3[] m_Corners

References UnityEngine.UI.ScrollRect.content, UnityEngine.RectTransform.GetWorldCorners(), j__TPar, UnityEngine.UI.ScrollRect.m_Content, UnityEngine.UI.ScrollRect.m_Corners, UnityEngine.UI.ScrollRect.viewRect, and UnityEngine.Transform.worldToLocalMatrix.

Referenced by UnityEngine.UI.ScrollRect.SetLayoutHorizontal(), UnityEngine.UI.ScrollRect.SetLayoutVertical(), and UnityEngine.UI.ScrollRect.UpdateBounds().