*
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user