Exemplo n.º 1
0
	private PMXFormat.MetaHeader CreateMetaHeader() {
		PMXFormat.MetaHeader result = new PMXFormat.MetaHeader();
		result.path = file_path_;
		result.name = Path.GetFileNameWithoutExtension(file_path_); // .pmdを抜かす
		result.folder = Path.GetDirectoryName(file_path_); // PMDが格納されているフォルダ
		return result;
	}
	private static PMXFormat.MetaHeader CreateMetaHeader(PMDFormat pmd) {
		PMXFormat.MetaHeader result = new PMXFormat.MetaHeader();
		result.path = pmd.path;
		result.name = pmd.name;
		result.folder = pmd.folder;
		return result;
	}
 private PMXFormat.MetaHeader CreateMetaHeader()
 {
     PMXFormat.MetaHeader result = new PMXFormat.MetaHeader();
     result.path   = file_path_;
     result.name   = Path.GetFileNameWithoutExtension(file_path_); // .pmdを抜かす
     result.folder = Path.GetDirectoryName(file_path_);            // PMDが格納されているフォルダ
     return(result);
 }
 private static PMXFormat.MetaHeader CreateMetaHeader(PMDFormat pmd)
 {
     PMXFormat.MetaHeader result = new PMXFormat.MetaHeader();
     result.path   = pmd.path;
     result.name   = pmd.name;
     result.folder = pmd.folder;
     return(result);
 }