Class BaseNodeView
Inheritance
System.Object
UnityEngine.UIElements.CallbackEventHandler
UnityEngine.UIElements.Focusable
UnityEngine.UIElements.VisualElement
UnityEditor.Experimental.GraphView.GraphElement
UnityEditor.Experimental.GraphView.Node
BaseNodeView
Implements
UnityEngine.UIElements.IEventHandler
UnityEngine.UIElements.ITransform
UnityEngine.UIElements.Experimental.ITransitionAnimations
UnityEngine.UIElements.IExperimentalFeatures
UnityEngine.UIElements.IVisualElementScheduler
UnityEngine.UIElements.IResolvedStyle
UnityEditor.Experimental.GraphView.ISelectable
Inherited Members
UnityEditor.Experimental.GraphView.Node.m_CollapseButton
UnityEditor.Experimental.GraphView.Node.m_ButtonContainer
UnityEditor.Experimental.GraphView.Node.RefreshExpandedState()
UnityEditor.Experimental.GraphView.Node.GetPosition()
UnityEditor.Experimental.GraphView.Node.OnPortRemoved(UnityEditor.Experimental.GraphView.Port)
UnityEditor.Experimental.GraphView.Node.InstantiatePort(UnityEditor.Experimental.GraphView.Orientation, UnityEditor.Experimental.GraphView.Direction, UnityEditor.Experimental.GraphView.Port.Capacity, System.Type)
UnityEditor.Experimental.GraphView.Node.ToggleCollapse()
UnityEditor.Experimental.GraphView.Node.UseDefaultStyling()
UnityEditor.Experimental.GraphView.Node.mainContainer
UnityEditor.Experimental.GraphView.Node.titleContainer
UnityEditor.Experimental.GraphView.Node.inputContainer
UnityEditor.Experimental.GraphView.Node.outputContainer
UnityEditor.Experimental.GraphView.Node.titleButtonContainer
UnityEditor.Experimental.GraphView.Node.topContainer
UnityEditor.Experimental.GraphView.Node.extensionContainer
UnityEditor.Experimental.GraphView.Node.title
UnityEditor.Experimental.GraphView.GraphElement.ResetLayer()
UnityEditor.Experimental.GraphView.GraphElement.OnCustomStyleResolved(UnityEngine.UIElements.ICustomStyle)
UnityEditor.Experimental.GraphView.GraphElement.IsSelectable()
UnityEditor.Experimental.GraphView.GraphElement.IsMovable()
UnityEditor.Experimental.GraphView.GraphElement.IsResizable()
UnityEditor.Experimental.GraphView.GraphElement.IsDroppable()
UnityEditor.Experimental.GraphView.GraphElement.IsAscendable()
UnityEditor.Experimental.GraphView.GraphElement.IsRenamable()
UnityEditor.Experimental.GraphView.GraphElement.GetGlobalCenter()
UnityEditor.Experimental.GraphView.GraphElement.UpdatePresenterPosition()
UnityEditor.Experimental.GraphView.GraphElement.OnSelected()
UnityEditor.Experimental.GraphView.GraphElement.OnUnselected()
UnityEditor.Experimental.GraphView.GraphElement.HitTest(UnityEngine.Vector2)
UnityEditor.Experimental.GraphView.GraphElement.Select(UnityEngine.UIElements.VisualElement, System.Boolean)
UnityEditor.Experimental.GraphView.GraphElement.Unselect(UnityEngine.UIElements.VisualElement)
UnityEditor.Experimental.GraphView.GraphElement.IsSelected(UnityEngine.UIElements.VisualElement)
UnityEditor.Experimental.GraphView.GraphElement.elementTypeColor
UnityEditor.Experimental.GraphView.GraphElement.layer
UnityEditor.Experimental.GraphView.GraphElement.capabilities
UnityEditor.Experimental.GraphView.GraphElement.selected
UnityEngine.UIElements.VisualElement.disabledUssClassName
UnityEngine.UIElements.VisualElement.ExecuteDefaultAction(UnityEngine.UIElements.EventBase)
UnityEngine.UIElements.VisualElement.Focus()
UnityEngine.UIElements.VisualElement.SendEvent(UnityEngine.UIElements.EventBase)
UnityEngine.UIElements.VisualElement.SetEnabledFromHierarchy(System.Boolean)
UnityEngine.UIElements.VisualElement.SetEnabled(System.Boolean)
UnityEngine.UIElements.VisualElement.MarkDirtyRepaint()
UnityEngine.UIElements.VisualElement.ContainsPoint(UnityEngine.Vector2)
UnityEngine.UIElements.VisualElement.Overlaps(UnityEngine.Rect)
UnityEngine.UIElements.VisualElement.DoMeasure(System.Single, UnityEngine.UIElements.VisualElement.MeasureMode, System.Single, UnityEngine.UIElements.VisualElement.MeasureMode)
UnityEngine.UIElements.VisualElement.ToString()
UnityEngine.UIElements.VisualElement.GetClasses()
UnityEngine.UIElements.VisualElement.ClearClassList()
UnityEngine.UIElements.VisualElement.AddToClassList(System.String)
UnityEngine.UIElements.VisualElement.RemoveFromClassList(System.String)
UnityEngine.UIElements.VisualElement.ToggleInClassList(System.String)
UnityEngine.UIElements.VisualElement.EnableInClassList(System.String, System.Boolean)
UnityEngine.UIElements.VisualElement.ClassListContains(System.String)
UnityEngine.UIElements.VisualElement.FindAncestorUserData()
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.Experimental.ITransitionAnimations.Start(System.Single, System.Single, System.Int32, System.Action<UnityEngine.UIElements.VisualElement, System.Single>)
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.Experimental.ITransitionAnimations.Start(UnityEngine.Rect, UnityEngine.Rect, System.Int32, System.Action<UnityEngine.UIElements.VisualElement, UnityEngine.Rect>)
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.Experimental.ITransitionAnimations.Start(UnityEngine.Color, UnityEngine.Color, System.Int32, System.Action<UnityEngine.UIElements.VisualElement, UnityEngine.Color>)
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.Experimental.ITransitionAnimations.Start(UnityEngine.Vector3, UnityEngine.Vector3, System.Int32, System.Action<UnityEngine.UIElements.VisualElement, UnityEngine.Vector3>)
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.Experimental.ITransitionAnimations.Start(UnityEngine.Vector2, UnityEngine.Vector2, System.Int32, System.Action<UnityEngine.UIElements.VisualElement, UnityEngine.Vector2>)
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.Experimental.ITransitionAnimations.Start(UnityEngine.Quaternion, UnityEngine.Quaternion, System.Int32, System.Action<UnityEngine.UIElements.VisualElement, UnityEngine.Quaternion>)
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.Experimental.ITransitionAnimations.Start(UnityEngine.UIElements.Experimental.StyleValues, UnityEngine.UIElements.Experimental.StyleValues, System.Int32)
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.Experimental.ITransitionAnimations.Start(System.Func<UnityEngine.UIElements.VisualElement, System.Single>, System.Single, System.Int32, System.Action<UnityEngine.UIElements.VisualElement, System.Single>)
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.Experimental.ITransitionAnimations.Start(System.Func<UnityEngine.UIElements.VisualElement, UnityEngine.Rect>, UnityEngine.Rect, System.Int32, System.Action<UnityEngine.UIElements.VisualElement, UnityEngine.Rect>)
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.Experimental.ITransitionAnimations.Start(System.Func<UnityEngine.UIElements.VisualElement, UnityEngine.Color>, UnityEngine.Color, System.Int32, System.Action<UnityEngine.UIElements.VisualElement, UnityEngine.Color>)
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.Experimental.ITransitionAnimations.Start(System.Func<UnityEngine.UIElements.VisualElement, UnityEngine.Vector3>, UnityEngine.Vector3, System.Int32, System.Action<UnityEngine.UIElements.VisualElement, UnityEngine.Vector3>)
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.Experimental.ITransitionAnimations.Start(System.Func<UnityEngine.UIElements.VisualElement, UnityEngine.Vector2>, UnityEngine.Vector2, System.Int32, System.Action<UnityEngine.UIElements.VisualElement, UnityEngine.Vector2>)
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.Experimental.ITransitionAnimations.Start(System.Func<UnityEngine.UIElements.VisualElement, UnityEngine.Quaternion>, UnityEngine.Quaternion, System.Int32, System.Action<UnityEngine.UIElements.VisualElement, UnityEngine.Quaternion>)
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.Experimental.ITransitionAnimations.Start(UnityEngine.UIElements.Experimental.StyleValues, System.Int32)
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.Experimental.ITransitionAnimations.Layout(UnityEngine.Rect, System.Int32)
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.Experimental.ITransitionAnimations.TopLeft(UnityEngine.Vector2, System.Int32)
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.Experimental.ITransitionAnimations.Size(UnityEngine.Vector2, System.Int32)
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.Experimental.ITransitionAnimations.Scale(System.Single, System.Int32)
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.Experimental.ITransitionAnimations.Position(UnityEngine.Vector3, System.Int32)
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.Experimental.ITransitionAnimations.Rotation(UnityEngine.Quaternion, System.Int32)
UnityEngine.UIElements.VisualElement.Add(UnityEngine.UIElements.VisualElement)
UnityEngine.UIElements.VisualElement.Insert(System.Int32, UnityEngine.UIElements.VisualElement)
UnityEngine.UIElements.VisualElement.Remove(UnityEngine.UIElements.VisualElement)
UnityEngine.UIElements.VisualElement.RemoveAt(System.Int32)
UnityEngine.UIElements.VisualElement.Clear()
UnityEngine.UIElements.VisualElement.ElementAt(System.Int32)
UnityEngine.UIElements.VisualElement.IndexOf(UnityEngine.UIElements.VisualElement)
UnityEngine.UIElements.VisualElement.Children()
UnityEngine.UIElements.VisualElement.Sort(System.Comparison<UnityEngine.UIElements.VisualElement>)
UnityEngine.UIElements.VisualElement.BringToFront()
UnityEngine.UIElements.VisualElement.SendToBack()
UnityEngine.UIElements.VisualElement.PlaceBehind(UnityEngine.UIElements.VisualElement)
UnityEngine.UIElements.VisualElement.PlaceInFront(UnityEngine.UIElements.VisualElement)
UnityEngine.UIElements.VisualElement.RemoveFromHierarchy()
UnityEngine.UIElements.VisualElement.GetFirstOfType<T>()
UnityEngine.UIElements.VisualElement.GetFirstAncestorOfType<T>()
UnityEngine.UIElements.VisualElement.Contains(UnityEngine.UIElements.VisualElement)
UnityEngine.UIElements.VisualElement.FindCommonAncestor(UnityEngine.UIElements.VisualElement)
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IVisualElementScheduler.Execute(System.Action<UnityEngine.UIElements.TimerState>)
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IVisualElementScheduler.Execute(System.Action)
UnityEngine.UIElements.VisualElement.viewDataKey
UnityEngine.UIElements.VisualElement.userData
UnityEngine.UIElements.VisualElement.canGrabFocus
UnityEngine.UIElements.VisualElement.focusController
UnityEngine.UIElements.VisualElement.usageHints
UnityEngine.UIElements.VisualElement.transform
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.ITransform.position
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.ITransform.rotation
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.ITransform.scale
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.ITransform.matrix
UnityEngine.UIElements.VisualElement.layout
UnityEngine.UIElements.VisualElement.contentRect
UnityEngine.UIElements.VisualElement.paddingRect
UnityEngine.UIElements.VisualElement.worldBound
UnityEngine.UIElements.VisualElement.localBound
UnityEngine.UIElements.VisualElement.worldTransform
UnityEngine.UIElements.VisualElement.pickingMode
UnityEngine.UIElements.VisualElement.name
UnityEngine.UIElements.VisualElement.enabledInHierarchy
UnityEngine.UIElements.VisualElement.enabledSelf
UnityEngine.UIElements.VisualElement.visible
UnityEngine.UIElements.VisualElement.generateVisualContent
UnityEngine.UIElements.VisualElement.experimental
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IExperimentalFeatures.animation
UnityEngine.UIElements.VisualElement.hierarchy
UnityEngine.UIElements.VisualElement.cacheAsBitmap
UnityEngine.UIElements.VisualElement.parent
UnityEngine.UIElements.VisualElement.panel
UnityEngine.UIElements.VisualElement.contentContainer
UnityEngine.UIElements.VisualElement.Item[System.Int32]
UnityEngine.UIElements.VisualElement.childCount
UnityEngine.UIElements.VisualElement.schedule
UnityEngine.UIElements.VisualElement.style
UnityEngine.UIElements.VisualElement.customStyle
UnityEngine.UIElements.VisualElement.resolvedStyle
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.width
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.height
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.maxWidth
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.maxHeight
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.minWidth
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.minHeight
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.flexBasis
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.flexGrow
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.flexShrink
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.flexDirection
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.flexWrap
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.left
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.top
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.right
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.bottom
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.marginLeft
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.marginTop
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.marginRight
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.marginBottom
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.paddingLeft
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.paddingTop
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.paddingRight
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.paddingBottom
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.position
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.alignSelf
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.unityTextAlign
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.unityFontStyleAndWeight
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.fontSize
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.whiteSpace
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.color
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.backgroundColor
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.borderColor
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.unityFont
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.unityBackgroundScaleMode
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.unityBackgroundImageTintColor
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.alignItems
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.alignContent
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.justifyContent
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.borderLeftColor
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.borderRightColor
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.borderTopColor
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.borderBottomColor
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.borderLeftWidth
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.borderRightWidth
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.borderTopWidth
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.borderBottomWidth
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.borderTopLeftRadius
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.borderTopRightRadius
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.borderBottomLeftRadius
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.borderBottomRightRadius
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.unitySliceLeft
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.unitySliceTop
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.unitySliceRight
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.unitySliceBottom
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.opacity
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.visibility
UnityEngine.UIElements.VisualElement.UnityEngine.UIElements.IResolvedStyle.display
UnityEngine.UIElements.VisualElement.styleSheets
UnityEngine.UIElements.VisualElement.tooltip
UnityEngine.UIElements.Focusable.Blur()
UnityEngine.UIElements.Focusable.focusable
UnityEngine.UIElements.Focusable.tabIndex
UnityEngine.UIElements.Focusable.delegatesFocus
UnityEngine.UIElements.CallbackEventHandler.RegisterCallback<TEventType>(UnityEngine.UIElements.EventCallback<TEventType>, UnityEngine.UIElements.TrickleDown)
UnityEngine.UIElements.CallbackEventHandler.RegisterCallback<TEventType, TUserArgsType>(UnityEngine.UIElements.EventCallback<TEventType, TUserArgsType>, TUserArgsType, UnityEngine.UIElements.TrickleDown)
UnityEngine.UIElements.CallbackEventHandler.UnregisterCallback<TEventType>(UnityEngine.UIElements.EventCallback<TEventType>, UnityEngine.UIElements.TrickleDown)
UnityEngine.UIElements.CallbackEventHandler.UnregisterCallback<TEventType, TUserArgsType>(UnityEngine.UIElements.EventCallback<TEventType, TUserArgsType>, UnityEngine.UIElements.TrickleDown)
UnityEngine.UIElements.CallbackEventHandler.HandleEvent(UnityEngine.UIElements.EventBase)
UnityEngine.UIElements.CallbackEventHandler.HasTrickleDownHandlers()
UnityEngine.UIElements.CallbackEventHandler.HasBubbleUpHandlers()
UnityEngine.UIElements.CallbackEventHandler.ExecuteDefaultActionAtTarget(UnityEngine.UIElements.EventBase)
Namespace: GraphProcessor
Assembly: com.alelievr.NodeGraphProcessor.Editor.dll
Syntax
[NodeCustomEditor(typeof(BaseNode))]
public class BaseNodeView : Node, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle, ISelectable
Fields
| Improve this Doc View SourcecontrolsContainer
Declaration
protected VisualElement controlsContainer
Field Value
Type | Description |
---|---|
UnityEngine.UIElements.VisualElement |
debugContainer
Declaration
protected VisualElement debugContainer
Field Value
Type | Description |
---|---|
UnityEngine.UIElements.VisualElement |
initializing
Declaration
public bool initializing
Field Value
Type | Description |
---|---|
System.Boolean |
inputPortViews
Declaration
public List<PortView> inputPortViews
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<PortView> |
nodeTarget
Declaration
public BaseNode nodeTarget
Field Value
Type | Description |
---|---|
BaseNode |
outputPortViews
Declaration
public List<PortView> outputPortViews
Field Value
Type | Description |
---|---|
System.Collections.Generic.List<PortView> |
portsPerFieldName
Declaration
protected Dictionary<string, List<PortView>> portsPerFieldName
Field Value
Type | Description |
---|---|
System.Collections.Generic.Dictionary<System.String, System.Collections.Generic.List<PortView>> |
Properties
| Improve this Doc View Sourceexpanded
Declaration
public override bool expanded { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
UnityEditor.Experimental.GraphView.Node.expanded
|
Improve this Doc
View Source
hasSettings
Declaration
protected virtual bool hasSettings { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
owner
Declaration
public BaseGraphView owner { get; }
Property Value
Type | Description |
---|---|
BaseGraphView |
Methods
| Improve this Doc View SourceAddControlField(FieldInfo, String)
Declaration
protected void AddControlField(FieldInfo field, string label = null)
Parameters
Type | Name | Description |
---|---|---|
System.Reflection.FieldInfo | field | |
System.String | label |
AddControlField(String, String)
Declaration
protected void AddControlField(string fieldName, string label = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | fieldName | |
System.String | label |
AddMessageView(String, NodeMessageType)
Declaration
public void AddMessageView(string message, NodeMessageType messageType)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | |
NodeMessageType | messageType |
AddMessageView(String, Texture, Color)
Declaration
public void AddMessageView(string message, Texture icon, Color color)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | |
UnityEngine.Texture | icon | |
UnityEngine.Color | color |
AddPort(FieldInfo, Direction, EdgeConnectorListener, PortData)
Declaration
public PortView AddPort(FieldInfo fieldInfo, Direction direction, EdgeConnectorListener listener, PortData portData)
Parameters
Type | Name | Description |
---|---|---|
System.Reflection.FieldInfo | fieldInfo | |
UnityEditor.Experimental.GraphView.Direction | direction | |
EdgeConnectorListener | listener | |
PortData | portData |
Returns
Type | Description |
---|---|
PortView |
BuildContextualMenu(ContextualMenuPopulateEvent)
Declaration
public override void BuildContextualMenu(ContextualMenuPopulateEvent evt)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.UIElements.ContextualMenuPopulateEvent | evt |
Overrides
UnityEditor.Experimental.GraphView.Node.BuildContextualMenu(UnityEngine.UIElements.ContextualMenuPopulateEvent)
|
Improve this Doc
View Source
ChangeLockStatus()
Declaration
public void ChangeLockStatus()
CloseSettings()
Declaration
public void CloseSettings()
CreateSettingsView()
Declaration
protected virtual VisualElement CreateSettingsView()
Returns
Type | Description |
---|---|
UnityEngine.UIElements.VisualElement |
DrawDefaultInspector()
Declaration
protected virtual void DrawDefaultInspector()
Enable()
Declaration
public virtual void Enable()
ForceUpdatePorts()
Declaration
protected void ForceUpdatePorts()
GetFirstPortViewFromFieldName(String)
Declaration
public PortView GetFirstPortViewFromFieldName(string fieldName)
Parameters
Type | Name | Description |
---|---|---|
System.String | fieldName |
Returns
Type | Description |
---|---|
PortView |
GetPortViewFromFieldName(String, String)
Declaration
public PortView GetPortViewFromFieldName(string fieldName, string identifier)
Parameters
Type | Name | Description |
---|---|---|
System.String | fieldName | |
System.String | identifier |
Returns
Type | Description |
---|---|
PortView |
GetPortViewsFromFieldName(String)
Declaration
public List<PortView> GetPortViewsFromFieldName(string fieldName)
Parameters
Type | Name | Description |
---|---|---|
System.String | fieldName |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<PortView> |
Highlight()
Declaration
public void Highlight()
Initialize(BaseGraphView, BaseNode)
Declaration
public void Initialize(BaseGraphView owner, BaseNode node)
Parameters
Type | Name | Description |
---|---|---|
BaseGraphView | owner | |
BaseNode | node |
OnCreated()
Declaration
public virtual void OnCreated()
OnRemoved()
Declaration
public virtual void OnRemoved()
OpenNodeScript()
Declaration
public void OpenNodeScript()
OpenNodeViewScript()
Declaration
public void OpenNodeViewScript()
OpenSettings()
Declaration
public void OpenSettings()
RefreshPorts()
Declaration
public bool RefreshPorts()
Returns
Type | Description |
---|---|
System.Boolean |
RemoveMessageView(String)
Declaration
public void RemoveMessageView(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message |
RemoveMessageViewContains(String)
Declaration
public void RemoveMessageViewContains(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message |
RemovePort(PortView)
Declaration
public void RemovePort(PortView p)
Parameters
Type | Name | Description |
---|---|---|
PortView | p |
SetPosition(Rect)
Declaration
public override void SetPosition(Rect newPos)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.Rect | newPos |
Overrides
UnityEditor.Experimental.GraphView.Node.SetPosition(UnityEngine.Rect)
|
Improve this Doc
View Source
ToggleDebug()
Declaration
public void ToggleDebug()
UnHighlight()
Declaration
public void UnHighlight()
UpdateDebugView()
Declaration
public void UpdateDebugView()
Events
| Improve this Doc View SourceonPortConnected
Declaration
public event Action<PortView> onPortConnected
Event Type
Type | Description |
---|---|
System.Action<PortView> |
onPortDisconnected
Declaration
public event Action<PortView> onPortDisconnected
Event Type
Type | Description |
---|---|
System.Action<PortView> |
Implements
UnityEngine.UIElements.IEventHandler
UnityEngine.UIElements.ITransform
UnityEngine.UIElements.Experimental.ITransitionAnimations
UnityEngine.UIElements.IExperimentalFeatures
UnityEngine.UIElements.IVisualElementScheduler
UnityEngine.UIElements.IResolvedStyle
UnityEditor.Experimental.GraphView.ISelectable