Show / Hide Table of Contents

Class StackNode

Inheritance
Object
CallbackEventHandler
Focusable
VisualElement
GraphElement
Node
StackNode
Implements
IEventHandler
ITransform
IUIElementDataWatch
IEnumerable<VisualElement>
IEnumerable
IVisualElementScheduler
IStyle
ISelectable
IDropTarget
Inherited Members
Node.mainContainer
Node.titleContainer
Node.inputContainer
Node.outputContainer
Node.titleButtonContainer
Node.topContainer
Node.extensionContainer
Node.expanded
Node.RefreshExpandedState()
Node.title
Node.m_CollapseButton
Node.m_ButtonContainer
Node.GetPosition()
Node.SetPosition(Rect)
Node.OnPortRemoved(Port)
Node.InstantiatePort(Orientation, Direction, Port.Capacity, Type)
Node.RefreshPorts()
Node.ToggleCollapse()
Node.UseDefaultStyling()
Node.BuildContextualMenu(ContextualMenuPopulateEvent)
GraphElement.elementTypeColor
GraphElement.layer
GraphElement.ResetLayer()
GraphElement.capabilities
GraphElement.selected
GraphElement.IsSelectable()
GraphElement.IsMovable()
GraphElement.IsResizable()
GraphElement.IsDroppable()
GraphElement.IsAscendable()
GraphElement.GetGlobalCenter()
GraphElement.UpdatePresenterPosition()
GraphElement.OnSelected()
GraphElement.OnUnselected()
GraphElement.HitTest(Vector2)
GraphElement.Select(VisualElement, Boolean)
GraphElement.Unselect(VisualElement)
GraphElement.IsSelected(VisualElement)
VisualElement.defaultFocusIndex
VisualElement.persistenceKey
VisualElement.userData
VisualElement.canGrabFocus
VisualElement.focusController
VisualElement.transform
VisualElement.ITransform.position
VisualElement.ITransform.rotation
VisualElement.ITransform.scale
VisualElement.ITransform.matrix
VisualElement.layout
VisualElement.contentRect
VisualElement.paddingRect
VisualElement.worldBound
VisualElement.localBound
VisualElement.worldTransform
VisualElement.pickingMode
VisualElement.name
VisualElement.Focus()
VisualElement.SendEvent(EventBase)
VisualElement.Dirty(ChangeType)
VisualElement.IsDirty(ChangeType)
VisualElement.AnyDirty(ChangeType)
VisualElement.ClearDirty(ChangeType)
VisualElement.enabled
VisualElement.SetEnabledFromHierarchy(Boolean)
VisualElement.enabledInHierarchy
VisualElement.enabledSelf
VisualElement.SetEnabled(Boolean)
VisualElement.visible
VisualElement.MarkDirtyRepaint()
VisualElement.DoRepaint(IStylePainter)
VisualElement.GetFullHierarchicalPersistenceKey()
VisualElement.GetOrCreatePersistentData<T>(Object, String)
VisualElement.GetOrCreatePersistentData<T>(ScriptableObject, String)
VisualElement.OverwriteFromPersistedData(Object, String)
VisualElement.SavePersistentData()
VisualElement.OnPersistentDataReady()
VisualElement.ContainsPoint(Vector2)
VisualElement.Overlaps(Rect)
VisualElement.DoMeasure(Single, VisualElement.MeasureMode, Single, VisualElement.MeasureMode)
VisualElement.SetSize(Vector2)
VisualElement.ResetPositionProperties()
VisualElement.ToString()
VisualElement.ClearClassList()
VisualElement.AddToClassList(String)
VisualElement.RemoveFromClassList(String)
VisualElement.ToggleInClassList(String)
VisualElement.EnableInClassList(String, Boolean)
VisualElement.ClassListContains(String)
VisualElement.FindAncestorUserData()
VisualElement.dataWatch
VisualElement.IUIElementDataWatch.RegisterWatch(Object, Action<Object>)
VisualElement.IUIElementDataWatch.UnregisterWatch(IUIElementDataWatchRequest)
VisualElement.shadow
VisualElement.clippingOptions
VisualElement.parent
VisualElement.panel
VisualElement.Add(VisualElement)
VisualElement.Insert(Int32, VisualElement)
VisualElement.Remove(VisualElement)
VisualElement.RemoveAt(Int32)
VisualElement.Clear()
VisualElement.ElementAt(Int32)
VisualElement.Item[Int32]
VisualElement.childCount
VisualElement.IndexOf(VisualElement)
VisualElement.Children()
VisualElement.Sort(Comparison<VisualElement>)
VisualElement.BringToFront()
VisualElement.SendToBack()
VisualElement.PlaceBehind(VisualElement)
VisualElement.PlaceInFront(VisualElement)
VisualElement.RemoveFromHierarchy()
VisualElement.GetFirstOfType<T>()
VisualElement.GetFirstAncestorOfType<T>()
VisualElement.Contains(VisualElement)
VisualElement.FindCommonAncestor(VisualElement)
VisualElement.GetEnumerator()
VisualElement.IEnumerable.GetEnumerator()
VisualElement.schedule
VisualElement.IVisualElementScheduler.Execute(Action<TimerState>)
VisualElement.IVisualElementScheduler.Execute(Action)
VisualElement.style
VisualElement.IStyle.width
VisualElement.IStyle.height
VisualElement.IStyle.maxWidth
VisualElement.IStyle.maxHeight
VisualElement.IStyle.minWidth
VisualElement.IStyle.minHeight
VisualElement.IStyle.flex
VisualElement.IStyle.flexBasis
VisualElement.IStyle.flexGrow
VisualElement.IStyle.flexShrink
VisualElement.IStyle.overflow
VisualElement.IStyle.positionLeft
VisualElement.IStyle.positionTop
VisualElement.IStyle.positionRight
VisualElement.IStyle.positionBottom
VisualElement.IStyle.marginLeft
VisualElement.IStyle.marginTop
VisualElement.IStyle.marginRight
VisualElement.IStyle.marginBottom
VisualElement.IStyle.borderLeft
VisualElement.IStyle.borderTop
VisualElement.IStyle.borderRight
VisualElement.IStyle.borderBottom
VisualElement.IStyle.borderLeftWidth
VisualElement.IStyle.borderTopWidth
VisualElement.IStyle.borderRightWidth
VisualElement.IStyle.borderBottomWidth
VisualElement.IStyle.borderRadius
VisualElement.IStyle.borderTopLeftRadius
VisualElement.IStyle.borderTopRightRadius
VisualElement.IStyle.borderBottomRightRadius
VisualElement.IStyle.borderBottomLeftRadius
VisualElement.IStyle.paddingLeft
VisualElement.IStyle.paddingTop
VisualElement.IStyle.paddingRight
VisualElement.IStyle.paddingBottom
VisualElement.IStyle.positionType
VisualElement.IStyle.alignSelf
VisualElement.IStyle.textAlignment
VisualElement.IStyle.unityTextAlign
VisualElement.IStyle.fontStyle
VisualElement.IStyle.fontStyleAndWeight
VisualElement.IStyle.textClipping
VisualElement.IStyle.font
VisualElement.IStyle.fontSize
VisualElement.IStyle.wordWrap
VisualElement.IStyle.textColor
VisualElement.IStyle.color
VisualElement.IStyle.flexDirection
VisualElement.IStyle.backgroundColor
VisualElement.IStyle.borderColor
VisualElement.IStyle.backgroundImage
VisualElement.IStyle.backgroundSize
VisualElement.IStyle.backgroundScaleMode
VisualElement.IStyle.alignItems
VisualElement.IStyle.alignContent
VisualElement.IStyle.justifyContent
VisualElement.IStyle.flexWrap
VisualElement.IStyle.sliceLeft
VisualElement.IStyle.sliceTop
VisualElement.IStyle.sliceRight
VisualElement.IStyle.sliceBottom
VisualElement.IStyle.opacity
VisualElement.IStyle.cursor
VisualElement.IStyle.visibility
VisualElement.AddStyleSheetPath(String)
VisualElement.RemoveStyleSheetPath(String)
VisualElement.HasStyleSheetPath(String)
VisualElement.tooltip
Focusable.focusIndex
Focusable.Blur()
CallbackEventHandler.RegisterCallback<TEventType>(EventCallback<TEventType>, Capture)
CallbackEventHandler.RegisterCallback<TEventType>(EventCallback<TEventType>, TrickleDown)
CallbackEventHandler.RegisterCallback<TEventType, TUserArgsType>(EventCallback<TEventType, TUserArgsType>, TUserArgsType, Capture)
CallbackEventHandler.RegisterCallback<TEventType, TUserArgsType>(EventCallback<TEventType, TUserArgsType>, TUserArgsType, TrickleDown)
CallbackEventHandler.UnregisterCallback<TEventType>(EventCallback<TEventType>, Capture)
CallbackEventHandler.UnregisterCallback<TEventType>(EventCallback<TEventType>, TrickleDown)
CallbackEventHandler.UnregisterCallback<TEventType, TUserArgsType>(EventCallback<TEventType, TUserArgsType>, Capture)
CallbackEventHandler.UnregisterCallback<TEventType, TUserArgsType>(EventCallback<TEventType, TUserArgsType>, TrickleDown)
CallbackEventHandler.HandleEvent(EventBase)
CallbackEventHandler.HasTrickleDownHandlers()
CallbackEventHandler.HasBubbleUpHandlers()
CallbackEventHandler.HasCaptureHandlers()
CallbackEventHandler.HasBubbleHandlers()
CallbackEventHandler.ExecuteDefaultActionAtTarget(EventBase)
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: UnityEditor.Experimental.UIElements.GraphView
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
public StackNode()

Properties

| Improve this Doc View Source

contentContainer

Declaration
public override VisualElement contentContainer { get; }
Property Value
Type Description
VisualElement
Overrides
VisualElement.contentContainer
| Improve this Doc View Source

dragEntered

Declaration
protected bool dragEntered { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

dropPreviewTemplate

Declaration
public Func<GraphElement, VisualElement> dropPreviewTemplate { get; set; }
Property Value
Type Description
Func<GraphElement, VisualElement>
| Improve this Doc View Source

hasMultipleSelectionSupport

Declaration
protected virtual bool hasMultipleSelectionSupport { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

headerContainer

Declaration
public VisualElement headerContainer { get; }
Property Value
Type Description
VisualElement

Methods

| Improve this Doc View Source

AcceptsElement(GraphElement, ref Int32, Int32)

Declaration
protected virtual bool AcceptsElement(GraphElement element, ref int proposedIndex, int maxIndex)
Parameters
Type Name Description
GraphElement element
Int32 proposedIndex
Int32 maxIndex
Returns
Type Description
Boolean
| Improve this Doc View Source

AddElement(GraphElement)

Declaration
public void AddElement(GraphElement element)
Parameters
Type Name Description
GraphElement element
| Improve this Doc View Source

CanAcceptDrop(List<ISelectable>)

Declaration
public bool CanAcceptDrop(List<ISelectable> selection)
Parameters
Type Name Description
List<ISelectable> selection
Returns
Type Description
Boolean
| 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
Type Name Description
DragEnterEvent evt
IEnumerable<ISelectable> selection
IDropTarget enteredTarget
ISelection dragSource
Returns
Type Description
Boolean
| Improve this Doc View Source

DragExited()

Declaration
public virtual bool DragExited()
Returns
Type Description
Boolean
| 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
Type Name Description
DragLeaveEvent evt
IEnumerable<ISelectable> selection
IDropTarget leftTarget
ISelection dragSource
Returns
Type Description
Boolean
| Improve this Doc View Source

DragPerform(DragPerformEvent, IEnumerable<ISelectable>, IDropTarget, ISelection)

Declaration
public virtual bool DragPerform(DragPerformEvent evt, IEnumerable<ISelectable> selection, IDropTarget dropTarget, ISelection dragSource)
Parameters
Type Name Description
DragPerformEvent evt
IEnumerable<ISelectable> selection
IDropTarget dropTarget
ISelection dragSource
Returns
Type Description
Boolean
| 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
Type Name Description
DragUpdatedEvent evt
IEnumerable<ISelectable> selection
IDropTarget dropTarget
ISelection dragSource
Returns
Type Description
Boolean
| Improve this Doc View Source

ExecuteDefaultAction(EventBase)

Declaration
protected override void ExecuteDefaultAction(EventBase evt)
Parameters
Type Name Description
EventBase evt
Overrides
VisualElement.ExecuteDefaultAction(EventBase)
| Improve this Doc View Source

GetInsertionIndex(Vector2)

Declaration
public int GetInsertionIndex(Vector2 worldPosition)
Parameters
Type Name Description
Vector2 worldPosition
Returns
Type Description
Int32
| Improve this Doc View Source

InsertElement(Int32, GraphElement)

Declaration
public void InsertElement(int index, GraphElement element)
Parameters
Type Name Description
Int32 index
GraphElement element
| Improve this Doc View Source

OnSeparatorContextualMenuEvent(ContextualMenuPopulateEvent, Int32)

Declaration
protected virtual void OnSeparatorContextualMenuEvent(ContextualMenuPopulateEvent evt, int separatorIndex)
Parameters
Type Name Description
ContextualMenuPopulateEvent evt
Int32 separatorIndex
| Improve this Doc View Source

OnStartDragging(GraphElement)

Declaration
public virtual void OnStartDragging(GraphElement ge)
Parameters
Type Name Description
GraphElement ge
| Improve this Doc View Source

OnStyleResolved(ICustomStyle)

Declaration
protected override void OnStyleResolved(ICustomStyle styles)
Parameters
Type Name Description
ICustomStyle styles
Overrides
GraphElement.OnStyleResolved(ICustomStyle)
| Improve this Doc View Source

RemoveElement(GraphElement)

Declaration
public void RemoveElement(GraphElement element)
Parameters
Type Name Description
GraphElement element

Implements

IEventHandler
ITransform
IUIElementDataWatch
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
IVisualElementScheduler
IStyle
ISelectable
IDropTarget

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
MustExtensions.MustBeNull<T>(T)
MustExtensions.MustBeNull<T>(T, String)
MustExtensions.MustNotBeNull<T>(T)
MustExtensions.MustNotBeNull<T>(T, String)
BindingExtensions.Bind(VisualElement, SerializedObject)
BindingExtensions.Unbind(VisualElement)
GraphElementScopeExtensions.GetContainingScope(GraphElement)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX