Init() public method

public Init ( SketchUpNodeInfo nodes, SketchUpImporterModelEditor suModelEditor ) : void
nodes SketchUpNodeInfo
suModelEditor SketchUpImporterModelEditor
return void
Ejemplo n.º 1
0
        internal static void Launch(SketchUpNodeInfo[] nodes, SketchUpImporterModelEditor suModelEditor)
        {
            SketchUpImportDlg windowDontShow = EditorWindow.GetWindowDontShow <SketchUpImportDlg>();

            windowDontShow.Init(nodes, suModelEditor);
            windowDontShow.ShowAuxWindow();
        }
Ejemplo n.º 2
0
        internal static int[] LaunchAsModal(SketchUpNodeInfo[] nodes)
        {
            SketchUpImportDlg windowDontShow = EditorWindow.GetWindowDontShow <SketchUpImportDlg>();

            windowDontShow.Init(nodes, (SketchUpImporterModelEditor)null);
            windowDontShow.isModal = true;
            windowDontShow.ShowModal();
            return(windowDontShow.m_DataSource.FetchEnableNodes());
        }