Пример #1
0
        private void SetupSharedSettings()
        {
            // Move
            Settings3D.ConnectMvSliderSettings(_mvPXSlider, 0, AxisSign.Positive);
            Settings3D.ConnectMvSliderSettings(_mvPYSlider, 1, AxisSign.Positive);
            Settings3D.ConnectMvSliderSettings(_mvPZSlider, 2, AxisSign.Positive);
            Settings3D.ConnectMvSliderSettings(_mvNXSlider, 0, AxisSign.Negative);
            Settings3D.ConnectMvSliderSettings(_mvNYSlider, 1, AxisSign.Negative);
            Settings3D.ConnectMvSliderSettings(_mvNZSlider, 2, AxisSign.Negative);
            Settings3D.ConnectMvDblSliderSettings(_mvXYSlider, PlaneId.XY);
            Settings3D.ConnectMvDblSliderSettings(_mvYZSlider, PlaneId.YZ);
            Settings3D.ConnectMvDblSliderSettings(_mvZXSlider, PlaneId.ZX);
            Settings2D.ConnectMvSliderSettings(_mvP2DModeXSlider, 0, AxisSign.Positive);
            Settings2D.ConnectMvSliderSettings(_mvP2DModeYSlider, 1, AxisSign.Positive);
            Settings2D.ConnectMvSliderSettings(_mvN2DModeXSlider, 0, AxisSign.Negative);
            Settings2D.ConnectMvSliderSettings(_mvN2DModeYSlider, 1, AxisSign.Negative);
            Settings2D.ConnectMvDblSliderSettings(_mv2DModeDblSlider);
            _mvVertexSnapDrag.Settings = Settings3D.VertexSnapSettings;

            // Rotate
            Settings3D.ConnectRtSliderSettings(_rtXSlider, 0);
            Settings3D.ConnectRtSliderSettings(_rtYSlider, 1);
            Settings3D.ConnectRtSliderSettings(_rtZSlider, 2);
            Settings3D.ConnectRtCamLookSliderSettings(_rtCamLookSlider);
        }
Пример #2
0
        private void SetupSharedSettings()
        {
            Settings3D.ConnectSliderSettings(_pXSlider, 0, AxisSign.Positive);
            Settings3D.ConnectSliderSettings(_pYSlider, 1, AxisSign.Positive);
            Settings3D.ConnectSliderSettings(_pZSlider, 2, AxisSign.Positive);

            Settings3D.ConnectSliderSettings(_nXSlider, 0, AxisSign.Negative);
            Settings3D.ConnectSliderSettings(_nYSlider, 1, AxisSign.Negative);
            Settings3D.ConnectSliderSettings(_nZSlider, 2, AxisSign.Negative);

            Settings3D.ConnectDblSliderSettings(_xySlider, PlaneId.XY);
            Settings3D.ConnectDblSliderSettings(_yzSlider, PlaneId.YZ);
            Settings3D.ConnectDblSliderSettings(_zxSlider, PlaneId.ZX);

            Settings2D.ConnectSliderSettings(_p2DModeXSlider, 0, AxisSign.Positive);
            Settings2D.ConnectSliderSettings(_p2DModeYSlider, 1, AxisSign.Positive);
            Settings2D.ConnectSliderSettings(_n2DModeXSlider, 0, AxisSign.Negative);
            Settings2D.ConnectSliderSettings(_n2DModeYSlider, 1, AxisSign.Negative);
            Settings2D.ConnectDblSliderSettings(_2DModeDblSlider);

            _vertexSnapDrag.Settings = Settings3D.VertexSnapSettings;
        }