ExtractMesh() public method

The extract mesh.
public ExtractMesh ( string path ) : void
path string The path.
return void
示例#1
0
        /// <summary>
        /// The export mesh tool strip menu item_ click.
        /// </summary>
        /// <param name="sender">The sender.</param>
        /// <param name="e">The e.</param>
        /// <remarks></remarks>
        private void exportMeshToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (folderBrowserDialog.ShowDialog() == DialogResult.Cancel)
            {
                return;
            }

            ParsedModel pm = new ParsedModel(ref map.SelectedMeta);
            pm.ExtractMesh(folderBrowserDialog.SelectedPath);
            MessageBox.Show("Done");
        }