Пример #1
0
 public override void RenderOverlay(RenderManager.CameraInfo cameraInfo)
 {
     if (!IsFirstSelected)
     {
         LineSelector.Render(cameraInfo, !(PointsSelector.IsHoverGroup || PointsSelector.IsHoverPoint));
     }
     PointsSelector.Render(cameraInfo);
 }
Пример #2
0
 public override void RenderOverlay(RenderManager.CameraInfo cameraInfo)
 {
     if (!IsFirstSelected)
     {
         var overlayData = new OverlayData(cameraInfo)
         {
             Color = Colors.Hover
         };
         foreach (var part in Contour.RawParts)
         {
             if (part.IsPoint)
             {
                 part.Render(overlayData);
             }
         }
         LineSelector.Render(cameraInfo, !(PointsSelector.IsHoverGroup || PointsSelector.IsHoverPoint));
     }
     PointsSelector.Render(cameraInfo);
 }