/// <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); }
/// <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; } }
public void OnRemove(SBViewportPanel viewportPanel) { MeshPanel.Clear(); }