class in UnityEditor.Experimental.GraphView
/
继承自:Experimental.GraphView.GraphElement
Allows interactive manipulation of elements (drag, hide) over a virtual placemat.
| Collapsed | Whether the placemat is collapsed (true) or expanded (false). |
| CollapsedElements | The list of elements hidden by the placemat when collapsed. The list is empty when the placemat is expanded. |
| CollapsedSize | The size of the placemat when collapsed. |
| Color | The color of the placemat. |
| ExpandedPosition | The rect representing the expanded placemat, regardless of the current collapsed state. |
| title | The title of the placemat. |
| UncollapsedSize | The size of the placemat when expanded. |
| ZOrder | The Z order of the placemat in the PlacematContainer. |
| Placemat | 构造函数。 |
| SetPosition | Sets the placemat position |
| StartEditTitle | Sets the focus to the title of placemat and sets the title for editing. |
| BuildContextualMenu | Adds menu items to the placemat contextual menu. |
| SetCollapsedElements | Sets the list of collapsed elements. This method is not meant to be called. |
| ComputeElementBounds | Calculates the bounds of a list of graph elements. |
| 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。 |
| Unselect | 取消选择 GraphElement。 |
| OnCustomStyleResolved | 当自定义样式属性解析时调用。 |