class in UnityEditor.Experimental.GraphView
/
継承:Experimental.GraphView.GraphElement
The GraphView edge element.
candidatePosition | The edge's end position while it's being created. |
defaultColor | Default edge color. |
edgeControl | The VisualElement child of Edge that draws the lines and does the hit detection. |
edgeWidth | Edge width. |
ghostColor | The color of the ghost edge, which is the edge that appears snapped to a nearby port while an edge is being created. |
input | Connected input port. |
isGhostEdge | Is this edge a ghost edge, which is the edge that appears snapped to a nearby port while an edge is being created. |
output | Connected output port. |
PointsAndTangents | The edge's points and tangents. |
selectedColor | Color of edge while selected. |
showInMiniMap | Whether the GraphElement is shown in the minimap. For Edge, this property is always set to false. |
Edge | Edge's constructor. |
ContainsPoint | Checks if point is on top of edge. |
OnPortChanged | Called when a port on the edge is changed. |
Overlaps | Check if edge overlaps rectangle. |
UpdateEdgeControl | Update the edge's EdgeControl. |
CreateEdgeControl | Create the EdgeControl. |
DrawEdge | Draw the edge's lines. |
OnCustomStyleResolved | Called when the custom style properties are resolved. |
capabilities | The GraphElement's capabilities. |
elementTypeColor | The color used for the MiniMap view. |
layer | The GraphElement's layer in the graph. |
selected | True if the GraphElement is currently selected. |
showInMiniMap | Whether the element is shown in the minimap. |
title | The GraphElement's title. |
GetGlobalCenter | Get the GraphElement's center point. |
GetPosition | Get the GraphElement position. |
HitTest | See if point is over the GraphElement. |
IsAscendable | Checks if the GraphElement is automatically brought to front when selected. |
IsCopiable | Checks whether the GraphElement is copiable. |
IsDroppable | The GraphElement is drag&droppable. |
IsGroupable | Checks whether the GraphElement is groupable. |
IsMovable | The GraphElement is movable. |
IsRenamable | The GraphElement is renamable. |
IsResizable | The GraphElement is resizable. |
IsSelectable | The GraphElement is selectable. |
IsSelected | The GraphElement is currently selected in specific container. |
IsSnappable | Checks whether the GraphElement is snappable. |
IsStackable | Checks whether the GraphElement is stackable. |
OnSelected | Called when the GraphElement is selected. |
OnUnselected | Called when the GraphElement is unselected. |
ResetLayer | Reset the GraphElement to its original layer. |
Select | Select the GraphElement. |
SetPosition | Set the GraphElement position. |
Unselect | Deselect the GraphElement. |