// モデルフォーマットを変更する private void ChangeModelFormat() { if ( fileFormat == PXCM3DScan.FileFormat.OBJ ){ fileFormat = PXCM3DScan.FileFormat.STL; } else if ( fileFormat == PXCM3DScan.FileFormat.STL ){ fileFormat = PXCM3DScan.FileFormat.PLY; } else { fileFormat = PXCM3DScan.FileFormat.OBJ; } ShowModelFormat(); }
// モデルフォーマットを変更する private void ChangeModelFormat() { if (fileFormat == PXCM3DScan.FileFormat.OBJ) { fileFormat = PXCM3DScan.FileFormat.STL; } else if (fileFormat == PXCM3DScan.FileFormat.STL) { fileFormat = PXCM3DScan.FileFormat.PLY; } else { fileFormat = PXCM3DScan.FileFormat.OBJ; } ShowModelFormat(); }
public static String ToString(this PXCM3DScan.FileFormat format) { return(PXCM3DScan.FileFormatToString(format)); }