mirror of
				https://github.com/maxartz15/VertexAnimation.git
				synced 2025-11-04 10:25:44 +01:00 
			
		
		
		
	Mesh Copy Index Format.
This commit is contained in:
		@@ -9,6 +9,7 @@ namespace TAO.VertexAnimation
 | 
				
			|||||||
			Mesh copy = new Mesh
 | 
								Mesh copy = new Mesh
 | 
				
			||||||
			{
 | 
								{
 | 
				
			||||||
				name = mesh.name,
 | 
									name = mesh.name,
 | 
				
			||||||
 | 
									indexFormat = mesh.indexFormat,
 | 
				
			||||||
				vertices = mesh.vertices,
 | 
									vertices = mesh.vertices,
 | 
				
			||||||
				triangles = mesh.triangles,
 | 
									triangles = mesh.triangles,
 | 
				
			||||||
				normals = mesh.normals,
 | 
									normals = mesh.normals,
 | 
				
			||||||
@@ -21,7 +22,7 @@ namespace TAO.VertexAnimation
 | 
				
			|||||||
				uv5 = mesh.uv5,
 | 
									uv5 = mesh.uv5,
 | 
				
			||||||
				uv6 = mesh.uv6,
 | 
									uv6 = mesh.uv6,
 | 
				
			||||||
				uv7 = mesh.uv7,
 | 
									uv7 = mesh.uv7,
 | 
				
			||||||
				uv8 = mesh.uv8,
 | 
									uv8 = mesh.uv8
 | 
				
			||||||
			};
 | 
								};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			copy.RecalculateBounds();
 | 
								copy.RecalculateBounds();
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user