Exemplo n.º 1
0
 /// <summary>
 /// Shows the meshpanel and have it load the selected meshes
 /// </summary>
 /// <param name="Mesh"></param>
 public void SelectMesh(ISBMesh[] Mesh)
 {
     if (ParentViewportPanel.Viewport.Scene == null)
     {
         return;
     }
     MeshPanel.SetSelectedMeshFromScene(ParentViewportPanel.Viewport.Scene);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Shows the meshpanel and have it load the selected meshes
 /// </summary>
 /// <param name="Mesh"></param>
 public void SelectMesh(ISBMesh[] Mesh)
 {
     ResetControls();
     if (Viewport.Scene == null)
     {
         return;
     }
     MeshPanel.SetSelectedMeshFromScene(Viewport.Scene);
     if (Mesh != null && Mesh.Length > 0)
     {
         MeshPanel.Visible = true;
     }
 }
Exemplo n.º 3
0
 public void OnRemove(SBViewportPanel viewportPanel)
 {
     MeshPanel.Clear();
 }