Esempio n. 1
0
 public AddModel(Marker marker)
 {
     InitializeComponent();
     this.marker            = marker;
     modelScene             = new ModelScene();
     openFileDialog1.Filter = "Model file(*.glb)|*.glb";
 }
Esempio n. 2
0
 public AddModel(ModelScene modelScene)
 {
     InitializeComponent();
     this.modelScene        = modelScene;
     edit                   = true;
     oldName                = modelScene.id;
     tbTitle.Text           = modelScene.id;
     tbDesc.Text            = modelScene.model.desc;
     tbSubtitle.Text        = modelScene.model.subtitle;
     tbx2.Text              = "" + modelScene.markerOffset.x;
     tby2.Text              = "" + modelScene.markerOffset.y;
     tbz2.Text              = "" + modelScene.markerOffset.z;
     tbx1.Text              = "" + modelScene.position.x;
     tby1.Text              = "" + modelScene.position.y;
     tbz2.Text              = "" + modelScene.position.z;
     tbSize.Text            = "" + modelScene.size.x;
     textBox2.Text          = modelScene.id + ".glb";
     openFileDialog1.Filter = "Model file(*.glb)|*.glb";
 }
Esempio n. 3
0
 public AddUsing(ModelScene modelScene)
 {
     InitializeComponent();
     usingModel      = new Using();
     this.modelScene = modelScene;
 }