class in UnityEditor.Experimental.GraphView
/
继承自:Experimental.GraphView.GraphElement
实现接口:IEventHandler, IExperimentalFeatures, IResolvedStyle, ISelectable, ISelection, ITransform, ITransitionAnimations, IVisualElementScheduler
这是 GraphElement,让用户能够动态定义按部分 (BlackboardSection) 分组的图形成员(例如字段/属性)。
| addItemRequested | 当用户单击此 Blackboard 的“添加”按钮时调用。 |
| contentContainer | 此 Blackboard 的内容容器。 |
| editTextRequested | 当用户已编辑此 BlackboardField 的文本时调用。 |
| graphView | Blackboard 附加到的 GraphView。 |
| moveItemRequested | 当用户将 BlackboardField 拖放到其 BlackboardSection 内的新位置时调用。 |
| scrollable | 指示用户是否可以垂直滚动此 Blackboard 的内容。默认情况下为 false。 |
| selection | Blackboard 附加到的 GraphView 中的所有已选择元素。 |
| subTitle | 此 Blackboard 的副标题。 |
| title | 此 Blackboard 的标题。 |
| windowed | 如果在单独的窗口中显示 Blackboard,则设置为 true。如果在 GraphView 中显示 Blackboard,则设置为 false。 |
| Blackboard | 构造一个 Blackboard。 |
| AddToSelection | 向 Blackboard 附加到的 GraphView 中的所选内容添加元素。 |
| ClearSelection | 清除 Blackboard 附加到的 GraphView 中的所选内容。 |
| RemoveFromSelection | 从 Blackboard 附加到的 GraphView 中的所选内容删除元素。 |
| 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。 |
| OnCustomStyleResolved | 当自定义样式属性解析时调用。 |