public void Render(Camera camera)
        {
            if (!IsVisible)
            {
                return;
            }

            Color color = _planeSlider.LookAndFeel.BorderColor;

            if (_targetHandle.Gizmo.HoverHandleId == _targetHandle.Id)
            {
                color = _planeSlider.LookAndFeel.HoveredBorderColor;
            }

            GizmoLineMaterial lineMaterial = GizmoLineMaterial.Get;

            lineMaterial.ResetValuesToSensibleDefaults();
            lineMaterial.SetColor(color);
            lineMaterial.SetPass(0);

            if (_planeSlider.LookAndFeel.PolygonBorderType == GizmoPolygon2DBorderType.Thin)
            {
                _targetHandle.Render2DWire(camera, _borderPolygonIndex);
            }
            else if (_planeSlider.LookAndFeel.PolygonBorderType == GizmoPolygon2DBorderType.Thick)
            {
                _targetHandle.Render2DWire(camera, _thickBorderPolygonIndex);
            }
        }
        public void Render(Camera camera)
        {
            if (!IsVisible)
            {
                return;
            }

            Color color = _planeSlider.LookAndFeel.BorderColor;

            if (_targetHandle.Gizmo.HoverHandleId == _targetHandle.Id)
            {
                color = _planeSlider.LookAndFeel.HoveredBorderColor;
            }

            GizmoLineMaterial lineMaterial = GizmoLineMaterial.Get;

            lineMaterial.ResetValuesToSensibleDefaults();
            lineMaterial.SetColor(color);
            lineMaterial.SetPass(0);

            _targetHandle.Render2DWire(camera, _borderCircleIndex);
        }