예제 #1
0
 void IInitializable.Initialize()
 {
     _settings = GUILayer.ModelVisSettings.CreateDefault();
     _controls = new ModelView {
         Object = _settings, _activeMaterialContext = this._activeMaterialContext
     };
     _controlHostService.RegisterControl(
         _controls,
         new ControlInfo(
             "Model view".Localize(),
             "Visualization of active preview model".Localize(),
             StandardControlGroup.Center),
         null);
 }
예제 #2
0
파일: ModelView.cs 프로젝트: coreafive/XLE
 void IInitializable.Initialize()
 {
     _settings = GUILayer.ModelVisSettings.CreateDefault();
     _controls = new ModelView { Object = _settings, _activeMaterialContext = this._activeMaterialContext };
     _controlHostService.RegisterControl(
         _controls,
         new ControlInfo(
             "Model view".Localize(), 
             "Visualization of active preview model".Localize(), 
             StandardControlGroup.Center),
         null);
 }