public static RawMeshData CopMesh(Mesh data) { RawMeshData output = new RawMeshData(data.vertices.Length, data.triangles.Length); output.Copy(data); return(output); }
public static RawMeshData CopyBuildRMesh(BuildRMesh data) { RawMeshData output = new RawMeshData(data.vertices.Count, data.triangles.Count); output.Copy(data); return(output); }