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

◆ FillMesh()

void UnityEngine.UI.VertexHelper.FillMesh ( Mesh mesh)
inline

Definition at line 177 of file VertexHelper.cs.

178 {
180 mesh.Clear();
181 List<Vector3> positions = this.m_Positions;
182 int size = positions._size;
183 mesh.SetVertices(positions);
184 List<Color32> colors = this.m_Colors;
185 mesh.SetColors(colors);
187 long num = 0L;
188 mesh.SetUVs((int)num, uv0S);
190 mesh.SetUVs(1, uv1S);
192 mesh.SetUVs(2, uv2S);
194 mesh.SetUVs(3, uv3S);
195 List<Vector3> normals = this.m_Normals;
196 mesh.SetNormals(normals);
197 List<Vector4> tangents = this.m_Tangents;
198 mesh.SetTangents(tangents);
199 List<int> indices = this.m_Indices;
200 long num2 = 0L;
201 mesh.SetTriangles(indices, (int)num2);
202 mesh.RecalculateBounds();
203 }
class f__AnonymousType0<< Count > j__TPar

References System.Collections.Generic.List< T >._size, UnityEngine.Mesh.Clear(), UnityEngine.UI.VertexHelper.InitializeListIfRequired(), j__TPar, UnityEngine.L, UnityEngine.UI.VertexHelper.m_Colors, UnityEngine.UI.VertexHelper.m_Indices, UnityEngine.UI.VertexHelper.m_Normals, UnityEngine.UI.VertexHelper.m_Positions, UnityEngine.UI.VertexHelper.m_Tangents, UnityEngine.UI.VertexHelper.m_Uv0S, UnityEngine.UI.VertexHelper.m_Uv1S, UnityEngine.UI.VertexHelper.m_Uv2S, UnityEngine.UI.VertexHelper.m_Uv3S, UnityEngine.Mesh.RecalculateBounds(), UnityEngine.Mesh.SetColors(), UnityEngine.Mesh.SetNormals(), UnityEngine.Mesh.SetTangents(), UnityEngine.Mesh.SetTriangles(), UnityEngine.Mesh.SetUVs(), and UnityEngine.Mesh.SetVertices().