UnityEditor.RectTool.PivotHandleGUI C# (CSharp) Method

PivotHandleGUI() private static method

private static PivotHandleGUI ( Rect rect, Vector3 pivot, Quaternion rotation ) : Vector3
rect UnityEngine.Rect
pivot Vector3
rotation UnityEngine.Quaternion
return Vector3
        private static Vector3 PivotHandleGUI(Rect rect, Vector3 pivot, Quaternion rotation)
        {
            int controlID = GUIUtility.GetControlID(s_PivotHandleHash, FocusType.Passive);
            EventType typeForControl = Event.current.GetTypeForControl(controlID);
            if ((GUI.color.a > 0f) || (GUIUtility.hotControl == controlID))
            {
                EventType type2 = typeForControl;
                EditorGUI.BeginChangeCheck();
                if (<>f__mg$cache1 == null)
                {
                    <>f__mg$cache1 = new Handles.CapFunction(RectHandles.PivotHandleCap);