예제 #1
0
        public static void ExportMSHS(string path)
        {
            MSHSExporter mx = new MSHSExporter();

            mx.Export(SceneManager.Current.Models[0], path);

            SceneManager.Current.UpdateProgress($"Exported {Path.GetFileName(path)}");
        }
예제 #2
0
        public static void SaveForTDR2000(string path)
        {
            HIEExporter hx = new HIEExporter();

            hx.Export(SceneManager.Current.Models[0], path);

            MSHSExporter mx = new MSHSExporter();

            mx.Export(SceneManager.Current.Models[0], Path.GetDirectoryName(path));

            SceneManager.Current.UpdateProgress($"{Path.GetFileName(path)} saved successfully");
        }