Ejemplo n.º 1
0
        public Main()
        {
            InitializeComponent();

            _sceneTree = new SceneTree(sceneTreeView);

            _renderScene = new RenderScene(renderSurface);

            _pulsarExtendedProperties = new PulsarExtendedProperties(propertiesPanel);

            _pulsarAssets = new PulsarAssets(modelsListView, materialsListView, animationsListView, fontsListView, texturesListView, assetsWatcher);
            if (_pulsarAssets != null)
            {
                _pulsarAssets.LoadAssets();
            }

            Shown       += Pulsar_Shown;
            FormClosing += Main_FormClosing;
            FormClosed  += Main_FormClosed;
        }
Ejemplo n.º 2
0
        public Main()
        {
            InitializeComponent();

            _formSceneTree   = new SceneTree();
            _formRenderScene = new RenderScene();
            //_formPropertiesInspector = new PropertiesInspector();
            _pulsarExtendedProperties = new PulsarExtendedProperties();

            _formSceneTree.Show(MainDockerPanel, DockState.DockLeft);

            //_formPropertiesInspector.Show(MainDockerPanel, DockState.DockRight);
            _pulsarExtendedProperties.Show(MainDockerPanel, DockState.DockRight);

            _formRenderScene.Show(MainDockerPanel, DockState.Document);

            _formRenderScene.DockHandler.AllowEndUserDocking = false;

            _pulsarAssets = new PulsarAssets();
            _pulsarAssets.Show(MainDockerPanel, DockState.DockBottom);

            Shown += Pulsar_Shown;
        }