public override void OnActivate(CSharpFramework.VisionViewBase currentView)
        {
            base.OnActivate(currentView);
            Picking.Init();

            IProject.ProjectUnloaded += new EventHandler(IProject_ProjectUnloaded);
        }
示例#2
0
 public override void RenderShape(CSharpFramework.VisionViewBase view, ShapeRenderMode mode)
 {
     base.RenderShape(view, mode);
     if (mode == ShapeRenderMode.Selected)
     {
         _selection.RenderSelection(view, mode);
     }
 }
示例#3
0
        public override void RenderShape(CSharpFramework.VisionViewBase view, ShapeRenderMode mode)
        {
            base.RenderShape(view, mode);
            float fScale = EditorManager.Settings.GlobalUnitScaling;

            if (mode == ShapeRenderMode.Selected)
            {
                view.RenderArrow(RenderPosition, RenderPosition + this.XAxis * 500.0f * fScale, VisionColors.White, 1.0f, 10.0f * fScale);
            }
        }