Пример #1
0
        /// <summary>
        /// Get the Knob rect in screen space, ZOOMED, for Input purposes
        /// </summary>
        public Rect GetScreenKnob()
        {
            Rect rect = GetGUIKnob();

            rect.position -= NodeEditor.curEditorState.zoomPanAdjust;             // Remove zoomPanAdjust added in GetGUIKnob
            return(NodeEditor.CanvasGUIToScreenRect(rect));
        }