public ConnectNodeOutputHandler(NodeEditorControl nodeEditor,
                                 Node node, NodeOutput nodeOutput)
 {
     this.nodeEditor = nodeEditor;
     this.node       = node;
     this.nodeOutput = nodeOutput;
     firstClick      = true;
 }
 public MoveNodeHandler(NodeEditorControl nodeEditor,
                        Node nodeToDrag,
                        Point2 dragStartPoint)
 {
     this.nodeEditor     = nodeEditor;
     this.mNodeToDrag    = nodeToDrag;
     this.mDragLastPoint = dragStartPoint;
     mNewNodePosition    = nodeToDrag.Position;
 }
示例#3
0
 public PanZoomHandler(NodeEditorControl nodeEditor)
 {
     this.nodeEditor = nodeEditor;
 }