示例#1
0
 /// <summary>
 /// Add model to scene
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void AddModelToScene(object sender, RoutedEventArgs e)
 {
     myScene.AddElement("C:/Users/Anastasiia/source/repos/My_3d_WFP_App/furniture/" + (string)cbModelList.SelectedItem + ".obj");
     lvScene.ItemsSource = myScene.Names;
     lvScene.Items.Refresh();
 }