private static void DoDrawAAConvexPolygon(Vector3[] points, int actualNumberOfPoints, float alpha) { if (Event.current.type == EventType.Repaint) { HandleUtility.ApplyWireMaterial(); Color defaultColor = new Color(1f, 1f, 1f, alpha) * s_Color; Internal_DrawAAConvexPolygon(points, defaultColor, actualNumberOfPoints, matrix); } }