This commit is contained in:
2025-05-13 04:34:28 +03:00
parent 828056b0c2
commit da0861c486
32 changed files with 2369 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MeshData {
public class Submesh {
public int BaseVertex = 0;
public List<int> Indices { get; } = new List<int>();
public MeshTopology Topology;
}
public List<Submesh> Submeshes { get; } = new List<Submesh>();
public List<Color> Colors { get; } = new List<Color>();
public List<Vector3> Vertices { get; } = new List<Vector3>();
public MeshData()
{
Submeshes.Add(new Submesh());
}
}