class in UnityEditor.Experimental.GraphView
/
継承:Experimental.GraphView.Node
実装インターフェース:ICollectibleElement, IDropTarget, IEventHandler, IExperimentalFeatures, IResolvedStyle, ISelectable, ITransform, ITransitionAnimations, IVisualElementScheduler
Use this class to customize StackNodes and to manage dragging GraphElements over StackNodes.
| contentContainer | The content container of this StackNode. | 
| dragEntered | Indicates if items from this stack are currently being dragged. | 
| dropPreviewTemplate | Use this property to customize the preview that appears when GraphElements are dragged over the StackNode. | 
| hasMultipleSelectionSupport | Returns true if the StackNode supports multiselection. | 
| headerContainer | Use this property to customize the header for this StackNode. | 
| StackNode | StackNode constructor. | 
| AddElement | Adds the specified GraphElement to the StackNode. | 
| CanAcceptDrop | Indicates whether this StackNode accepts the current drop event. | 
| CollectElements | Retrieves the set of nodes contained in this stack and its edges. The retrieved graph elements match a specific condition. | 
| DragEnter | This method is automatically called when a drag leave event occurs. | 
| DragExited | This method is automatically called when a drag exit event occurs. | 
| DragLeave | This method is automatically called when a drag leave event occurs. | 
| DragPerform | This method is automatically called when a drop event occurs. | 
| DragUpdated | This method is automatically called when a drag updated event occurs. | 
| GetInsertionIndex | Retrieves the insertion index in the StackNode if an item is dropped at the specified world position. | 
| InsertElement | Inserts the specified GraphElement at the specified index in this StackNode. | 
| OnStartDragging | This method is automatically called when an element of the stack is about to be dragged out of it. | 
| RemoveElement | Removes the specified GraphElement from this StackNode. | 
| AcceptsElement | Checks whether the specified GraphElement can be added to this StackNode. | 
| OnCustomStyleResolved | Called when the custom style properties are resolved. | 
| OnSeparatorContextualMenuEvent | This method is automatically called when a contextual menu is about to appear on a StackNode separator. | 
| 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. | 
| 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. | 
| 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. | 
| BuildContextualMenu | Add menu items to the node contextual menu. | 
| 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. |