class in UnityEditor.Experimental.GraphView
/
継承:Experimental.GraphView.GraphElement
実装インターフェース:ICollectibleElement, IEventHandler, IExperimentalFeatures, IResolvedStyle, ISelectable, ITransform, ITransitionAnimations, IVisualElementScheduler
Main GraphView node class.
| expanded | Is node expanded. |
| extensionContainer | Empty container used to display custom elements. After adding elements, call RefreshExpandedState in order to toggle this container visibility. |
| inputContainer | Input container used for input ports. |
| mainContainer | Main container that includes all other containers. |
| outputContainer | Outputs container, used for output ports. |
| title | Node's title element. |
| titleButtonContainer | Title bar button container. Contains the top right buttons. |
| titleContainer | Title bar container. |
| topContainer | Entire top area containing input and output containers. |
| Node | Node's constructor. |
| BuildContextualMenu | Add menu items to the node contextual menu. |
| CollectElements | Retrieves the set of edges that match a specified condition. The tested edges are connected to this node. |
| InstantiatePort | Create a new port specific to this node. |
| RefreshExpandedState | After adding custom elements to the extensionContainer, call this method in order for them to become visible. |
| RefreshPorts | Refresh the layout of the ports. |
| SetPosition | Set node position. |
| OnPortRemoved | Called when port is remove. |
| ToggleCollapse | Toggle node's collapse state. |
| UseDefaultStyling | Applies the default styling of Node. This must be explicitly called by Node subclasses that use their own uxml files. |
| 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. |
| Unselect | Deselect the GraphElement. |
| OnCustomStyleResolved | Called when the custom style properties are resolved. |