Beispiel #1
0
 private void BTN_CLICK_MV(object sender, EventArgs e)
 {
     if (mv != null)
     {
         mv.Close();
         mv.Dispose();
     }
     mv = new ModelViewer(this);
 }
Beispiel #2
0
 public TSTRENDERER(ModelViewer MV)
     : base(MV.Device)
 {
     this.CallFrequency = STDCallFrequencys.Always;
     this.MV = MV;
     D = MV.Device;
     E = new EffectWrapper("ambient.fx", MV.Device);
 }
Beispiel #3
0
 internal void createModelViewer(GraphicNode gn)
 {
     if (mv != null)
     {
         mv.GNode = gn;
         if (mv.WindowState == FormWindowState.Minimized)
             mv.WindowState = FormWindowState.Normal;
     }
     else
     {
         mv = new ModelViewer(this);
         mv.GNode = gn;
     }
 }