public override void OnActivate(CSharpFramework.VisionViewBase currentView) { base.OnActivate(currentView); Picking.Init(); IProject.ProjectUnloaded += new EventHandler(IProject_ProjectUnloaded); }
public override void RenderShape(CSharpFramework.VisionViewBase view, ShapeRenderMode mode) { base.RenderShape(view, mode); if (mode == ShapeRenderMode.Selected) { _selection.RenderSelection(view, mode); } }
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); } }