public T2PMaterialList(List <TSOFile> tsos, List <string> categories, string file_prefix, bool use_spheremap) { this.tsos = tsos; this.categories = categories; edgelist = new EdgeInform(); // テクスチャを準備 tex_list = new T2PTextureList(file_prefix, use_spheremap); int tso_num = 0; foreach (TSOFile tso in tsos) { foreach (TSOTex tex in tso.textures) { tex_list.Add(tex, tso_num); } tso_num++; } }