Exemplo n.º 1
0
        void UpdateSettings(MyGuiScreenOptionsEditorSettings settings)
        {
            //settings.DisplayUnselectedBounding = m_displayUnselectedCheckbox.Checked;
            settings.UseCameraCrosshair            = m_useCameraCrosshairCheckbox.Checked;
            settings.LockedPrefab90DegreesRotation = false;
            settings.EnableLightsInEditor          = m_enableLightsInEditorCheckbox.Checked;

            settings.DisplayVoxelBounding           = m_displayVoxelBounding.Checked;
            settings.DisplayPrefabContainerBounding = m_displayPrefabContainerBounding.Checked;
            settings.DisplayPrefabContainerAxis     = m_displayPrefabContainerAxis.Checked;
            settings.EnableSnapPointFilter          = m_enableSnapPointFilter.Checked;
            settings.FixedSizeSnapPoints            = m_fixedSnapPointSize.Checked;
            settings.SavePlayerShip = m_savePlayerShip.Checked;

            settings.EnableObjectPivot  = m_enableObjectPivot.Checked;
            settings.EnableTextsDrawing = m_enableTextsDrawing.Checked;
        }
Exemplo n.º 2
0
        void UpdateControls(MyGuiScreenOptionsEditorSettings settings)
        {
            //m_displayUnselectedCheckbox.Checked = settings.DisplayUnselectedBounding;
            m_useCameraCrosshairCheckbox.Checked = settings.UseCameraCrosshair;
            //m_lockedPrefab90DegreesRotationCheckbox.Checked = settings.LockedPrefab90DegreesRotation;
            m_enableLightsInEditorCheckbox.Checked = settings.EnableLightsInEditor;

            m_displayVoxelBounding.Checked           = MyEditor.DisplayVoxelBounding;
            m_displayPrefabContainerBounding.Checked = MyEditor.DisplayPrefabContainerBounding;
            m_displayPrefabContainerAxis.Checked     = MyEditor.DisplayPrefabContainerAxis;
            m_enableSnapPointFilter.Checked          = MyEditor.Static.SnapPointFilter;
            m_fixedSnapPointSize.Checked             = MyEditor.Static.FixedSizeSnapPoints;
            m_savePlayerShip.Checked = MyEditor.SavePlayerShip;

            m_enableObjectPivot.Checked  = MyEditor.EnableObjectPivot;
            m_enableTextsDrawing.Checked = MyEditor.EnableTextsDrawing;
        }
        void UpdateSettings(MyGuiScreenOptionsEditorSettings settings)
        {
            //settings.DisplayUnselectedBounding = m_displayUnselectedCheckbox.Checked;
            settings.UseCameraCrosshair = m_useCameraCrosshairCheckbox.Checked;
            settings.LockedPrefab90DegreesRotation = false;
            settings.EnableLightsInEditor = m_enableLightsInEditorCheckbox.Checked;

            settings.DisplayVoxelBounding = m_displayVoxelBounding.Checked;
            settings.DisplayPrefabContainerBounding = m_displayPrefabContainerBounding.Checked;
            settings.DisplayPrefabContainerAxis = m_displayPrefabContainerAxis.Checked;
            settings.EnableSnapPointFilter = m_enableSnapPointFilter.Checked;
            settings.FixedSizeSnapPoints = m_fixedSnapPointSize.Checked;
            settings.SavePlayerShip = m_savePlayerShip.Checked;

            settings.EnableObjectPivot = m_enableObjectPivot.Checked;
            settings.EnableTextsDrawing = m_enableTextsDrawing.Checked;
        }
        void UpdateControls(MyGuiScreenOptionsEditorSettings settings)
        {
            //m_displayUnselectedCheckbox.Checked = settings.DisplayUnselectedBounding;
            m_useCameraCrosshairCheckbox.Checked = settings.UseCameraCrosshair;
            //m_lockedPrefab90DegreesRotationCheckbox.Checked = settings.LockedPrefab90DegreesRotation;
            m_enableLightsInEditorCheckbox.Checked = settings.EnableLightsInEditor;

            m_displayVoxelBounding.Checked = MyEditor.DisplayVoxelBounding;
            m_displayPrefabContainerBounding.Checked = MyEditor.DisplayPrefabContainerBounding;
            m_displayPrefabContainerAxis.Checked = MyEditor.DisplayPrefabContainerAxis;
            m_enableSnapPointFilter.Checked = MyEditor.Static.SnapPointFilter;
            m_fixedSnapPointSize.Checked = MyEditor.Static.FixedSizeSnapPoints;
            m_savePlayerShip.Checked = MyEditor.SavePlayerShip;

            m_enableObjectPivot.Checked = MyEditor.EnableObjectPivot;
            m_enableTextsDrawing.Checked = MyEditor.EnableTextsDrawing;
        }