Class StackNode
  
  
  
  
  
  
  
  Assembly: UnityEditor.dll
  Syntax
  
    public class StackNode : Node, IEventHandler, ITransform, IUIElementDataWatch, IEnumerable<VisualElement>, IEnumerable, IVisualElementScheduler, IStyle, ISelectable, IDropTarget
   
  Constructors
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  StackNode()
  
  
  Declaration
  
  Properties
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  contentContainer
  
  
  Declaration
  
    public override VisualElement contentContainer { get; }
   
  Property Value
  
  Overrides
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  dragEntered
  
  
  Declaration
  
    protected bool dragEntered { get; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  dropPreviewTemplate
  
  
  Declaration
  
    public Func<GraphElement, VisualElement> dropPreviewTemplate { get; set; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  hasMultipleSelectionSupport
  
  
  Declaration
  
    protected virtual bool hasMultipleSelectionSupport { get; }
   
  Property Value
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  
  
  
  Declaration
  
    public VisualElement headerContainer { get; }
   
  Property Value
  
  Methods
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  AcceptsElement(GraphElement, ref Int32, Int32)
  
  
  Declaration
  
    protected virtual bool AcceptsElement(GraphElement element, ref int proposedIndex, int maxIndex)
   
  Parameters
  
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  AddElement(GraphElement)
  
  
  Declaration
  
    public void AddElement(GraphElement element)
   
  Parameters
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  CanAcceptDrop(List<ISelectable>)
  
  
  Declaration
  
    public bool CanAcceptDrop(List<ISelectable> selection)
   
  Parameters
  
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  DragEnter(DragEnterEvent, IEnumerable<ISelectable>, IDropTarget, ISelection)
  
  
  Declaration
  
    public virtual bool DragEnter(DragEnterEvent evt, IEnumerable<ISelectable> selection, IDropTarget enteredTarget, ISelection dragSource)
   
  Parameters
  
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  DragExited()
  
  
  Declaration
  
    public virtual bool DragExited()
   
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  DragLeave(DragLeaveEvent, IEnumerable<ISelectable>, IDropTarget, ISelection)
  
  
  Declaration
  
    public virtual bool DragLeave(DragLeaveEvent evt, IEnumerable<ISelectable> selection, IDropTarget leftTarget, ISelection dragSource)
   
  Parameters
  
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  
  
  
  Declaration
  
    public virtual bool DragPerform(DragPerformEvent evt, IEnumerable<ISelectable> selection, IDropTarget dropTarget, ISelection dragSource)
   
  Parameters
  
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  DragUpdated(DragUpdatedEvent, IEnumerable<ISelectable>, IDropTarget, ISelection)
  
  
  Declaration
  
    public virtual bool DragUpdated(DragUpdatedEvent evt, IEnumerable<ISelectable> selection, IDropTarget dropTarget, ISelection dragSource)
   
  Parameters
  
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  ExecuteDefaultAction(EventBase)
  
  
  Declaration
  
    protected override void ExecuteDefaultAction(EventBase evt)
   
  Parameters
  
  Overrides
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GetInsertionIndex(Vector2)
  
  
  Declaration
  
    public int GetInsertionIndex(Vector2 worldPosition)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | Vector2 | worldPosition |  | 
    
  
  Returns
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  InsertElement(Int32, GraphElement)
  
  
  Declaration
  
    public void InsertElement(int index, GraphElement element)
   
  Parameters
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  
  
  
  Declaration
  
    protected virtual void OnSeparatorContextualMenuEvent(ContextualMenuPopulateEvent evt, int separatorIndex)
   
  Parameters
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  OnStartDragging(GraphElement)
  
  
  Declaration
  
    public virtual void OnStartDragging(GraphElement ge)
   
  Parameters
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  OnStyleResolved(ICustomStyle)
  
  
  Declaration
  
    protected override void OnStyleResolved(ICustomStyle styles)
   
  Parameters
  
  Overrides
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  RemoveElement(GraphElement)
  
  
  Declaration
  
    public void RemoveElement(GraphElement element)
   
  Parameters
  
  Implements
  
  
  
  
  
  
  
  
  
  Extension Methods