C# Class Klak.Wiring.Patcher.EdgeGUI

Inheritance: UnityEditor.Graphs.IEdgeGUI
Datei anzeigen Open project: keijiro/Klak

Public Methods

Method Description
BeginSlotDragging ( UnityEditor.Graphs slot, bool allowStartDrag, bool allowEndDrag ) : void
DoDraggedEdge ( ) : void
DoEdges ( ) : void
EdgeGUI ( ) : UnityEngine
EndDragging ( ) : void
EndSlotDragging ( UnityEditor.Graphs slot, bool allowMultiple ) : void
FindClosestEdge ( ) : UnityEditor.Graphs.Edge
SlotDragging ( UnityEditor.Graphs slot, bool allowEndDrag, bool allowMultiple ) : void

Private Methods

Method Description
DrawEdge ( UnityEditor.Graphs edge, Color color ) : void
DrawEdge ( Vector2 p1, Vector2 p2, Color color ) : void
GUIClip ( Vector2 pos ) : Vector2
GetPositionAsFromSlot ( UnityEditor.Graphs slot ) : Vector2
GetPositionAsToSlot ( UnityEditor.Graphs slot ) : Vector2
GetSlotPosition ( UnityEditor.Graphs slot ) : Rect

Method Details

BeginSlotDragging() public method

public BeginSlotDragging ( UnityEditor.Graphs slot, bool allowStartDrag, bool allowEndDrag ) : void
slot UnityEditor.Graphs
allowStartDrag bool
allowEndDrag bool
return void

DoDraggedEdge() public method

public DoDraggedEdge ( ) : void
return void

DoEdges() public method

public DoEdges ( ) : void
return void

EdgeGUI() public method

public EdgeGUI ( ) : UnityEngine
return UnityEngine

EndDragging() public method

public EndDragging ( ) : void
return void

EndSlotDragging() public method

public EndSlotDragging ( UnityEditor.Graphs slot, bool allowMultiple ) : void
slot UnityEditor.Graphs
allowMultiple bool
return void

FindClosestEdge() public method

public FindClosestEdge ( ) : UnityEditor.Graphs.Edge
return UnityEditor.Graphs.Edge

SlotDragging() public method

public SlotDragging ( UnityEditor.Graphs slot, bool allowEndDrag, bool allowMultiple ) : void
slot UnityEditor.Graphs
allowEndDrag bool
allowMultiple bool
return void