public ModelViewerInstance(ModelViewerView v, String modelName) : base("ModelViewer") { view = v; v.setModelViewerInstance(this); call("initModelViewer", modelName, view.renderPanel.Handle); flush(); }
internal void createModelViewer(string file) { ModelViewerView mvw = new ModelViewerView(); mvw.Show(); ModelViewerInstance mvi = new ModelViewerInstance(mvw, file); nativeInstances.Add(mvi); }