/// <summary> /// Renders a overlay effect /// </summary> /// <param name="cameraInfo"></param> public override void RenderOverlay(RenderManager.CameraInfo cameraInfo) { base.RenderOverlay(cameraInfo); if (m_mouseTerrainPosition.HasValue) { m_action?.OnRenderOverlay(cameraInfo, m_mouseTerrainPosition.Value); } if (m_distribution != null) { DistributionUtils.RenderSegments(cameraInfo, ColorConstants.SelectionColor, m_distribution.Road); } }