private List<Color> colors | Combined vertex colours. |
private bool needsColor | Set when any added mesh had vertex colours. |
private bool needsUV | Set when any added mesh had UV channel 0. |
private bool needsUV2 | Set when any added mesh had UV channel 1. |
private bool needsUV4 | Set when any added mesh had UV channel 3. |
private List<Vector3> normals | Combined normals. |
private List<int> triangles | Combined triangle indices, offset for each added mesh. |
private List<Vector4> uv2s | Combined UV channel 1. |
private List<Vector4> uv4s | Combined UV channel 3. |
private List<Vector4> uvs | Combined UV channel 0. |
private List<Vector3> vertices | Combined vertices. |
private static List<Color> workingColors | Shared scratch list for reading colours. |
private static List<int> workingInt | Shared scratch list for reading triangles. |
private static List<Vector3> workingNormals | Shared scratch list for reading normals. |
private static List<Vector4> workingUV | Shared scratch list for reading UVs. |
private static List<Vector3> workingVertices | Shared scratch list for reading vertices. |