class in UnityEditor.Experimental.GraphView
/
继承自:Experimental.GraphView.GraphElement
GraphView 边缘元素。
| candidatePosition | 创建边缘时的边缘端位置。 |
| defaultColor | 默认边缘颜色。 |
| edgeControl | 可绘制线条并执行碰撞检测的边缘 VisualElement 子级。 |
| edgeWidth | 边缘宽度。 |
| ghostColor | 重影边缘(创建边缘时以对齐方式出现在附近端口的边缘)的颜色。 |
| input | 已连接的输入端口。 |
| isGhostEdge | 此边缘是否为重影边缘(创建边缘时以对齐方式出现在附近端口的边缘)。 |
| output | 已连接的输出端口。 |
| PointsAndTangents | 边缘的点和切线。 |
| selectedColor | 选择时边缘的颜色。 |
| showInMiniMap | Whether the GraphElement is shown in the minimap. For Edge, this property is always set to false. |
| Edge | 边缘的构造函数。 |
| ContainsPoint | 检查点是否在边缘之上。 |
| OnPortChanged | 在边缘上的端口更改时调用。 |
| Overlaps | 检查边缘与矩形是否重叠。 |
| UpdateEdgeControl | 更新边缘的 EdgeControl。 |
| CreateEdgeControl | 创建 EdgeControl。 |
| DrawEdge | 绘制边缘的线条。 |
| OnCustomStyleResolved | 当自定义样式属性解析时调用。 |
| capabilities | GraphElement 的功能。 |
| elementTypeColor | 用于 MiniMap 视图的颜色。 |
| layer | 图形中的 GraphElement 图层。 |
| selected | 如果当前已选择 GraphElement,则为 true。 |
| showInMiniMap | Whether the element is shown in the minimap. |
| title | GraphElement 的标题。 |
| GetGlobalCenter | 获取 GraphElement 的中心点。 |
| GetPosition | 获取 GraphElement 定位。 |
| HitTest | 查看点是否在 GraphElement 之上。 |
| IsAscendable | 检查 GraphElement 被选中时是否会被自动带到前面。 |
| IsCopiable | Checks whether the GraphElement is copiable. |
| IsDroppable | GraphElement 可拖放。 |
| IsGroupable | Checks whether the GraphElement is groupable. |
| IsMovable | GraphElement 可以移动。 |
| IsRenamable | GraphElement 可以重命名。 |
| IsResizable | GraphElement 可以重新确定大小。 |
| IsSelectable | GraphElement 是可选择的。 |
| IsSelected | 当前已在特定容器中选择 GraphElement。 |
| IsSnappable | Checks whether the GraphElement is snappable. |
| IsStackable | Checks whether the GraphElement is stackable. |
| OnSelected | 在选择 GraphElement 时调用。 |
| OnUnselected | 在取消选择 GraphElement 时调用。 |
| ResetLayer | 将 GraphElement 重置为其原始图层。 |
| Select | 选择 GraphElement。 |
| SetPosition | 设置 GraphElement 定位。 |
| Unselect | 取消选择 GraphElement。 |