Class Node
Assembly: UnityEditor.dll
Syntax
public class Node : GraphElement, IEventHandler, ITransform, IUIElementDataWatch, IEnumerable<VisualElement>, IEnumerable, IVisualElementScheduler, IStyle, ISelectable
Constructors
|
Improve this Doc
View Source
Node()
Declaration
|
Improve this Doc
View Source
Node(String)
Declaration
public Node(string uiFile)
Parameters
Type |
Name |
Description |
String |
uiFile |
|
Fields
|
Improve this Doc
View Source
Declaration
protected readonly VisualElement m_ButtonContainer
Field Value
|
Improve this Doc
View Source
Declaration
protected readonly VisualElement m_CollapseButton
Field Value
Properties
|
Improve this Doc
View Source
expanded
Declaration
public virtual bool expanded { get; set; }
Property Value
|
Improve this Doc
View Source
extensionContainer
Declaration
public VisualElement extensionContainer { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public VisualElement inputContainer { get; }
Property Value
|
Improve this Doc
View Source
mainContainer
Declaration
public VisualElement mainContainer { get; }
Property Value
|
Improve this Doc
View Source
outputContainer
Declaration
public VisualElement outputContainer { get; }
Property Value
|
Improve this Doc
View Source
title
Declaration
public override string title { get; set; }
Property Value
Overrides
|
Improve this Doc
View Source
Declaration
public VisualElement titleButtonContainer { get; }
Property Value
|
Improve this Doc
View Source
titleContainer
Declaration
public VisualElement titleContainer { get; }
Property Value
|
Improve this Doc
View Source
topContainer
Declaration
public VisualElement topContainer { get; }
Property Value
Methods
|
Improve this Doc
View Source
Declaration
public virtual void BuildContextualMenu(ContextualMenuPopulateEvent evt)
Parameters
|
Improve this Doc
View Source
GetPosition()
Declaration
public override Rect GetPosition()
Returns
Overrides
|
Improve this Doc
View Source
InstantiatePort(Orientation, Direction, Port.Capacity, Type)
Declaration
public virtual Port InstantiatePort(Orientation orientation, Direction direction, Port.Capacity capacity, Type type)
Parameters
Returns
|
Improve this Doc
View Source
OnPortRemoved(Port)
Declaration
protected virtual void OnPortRemoved(Port port)
Parameters
Type |
Name |
Description |
Port |
port |
|
|
Improve this Doc
View Source
RefreshExpandedState()
Declaration
public void RefreshExpandedState()
|
Improve this Doc
View Source
RefreshPorts()
Declaration
public bool RefreshPorts()
Returns
|
Improve this Doc
View Source
SetPosition(Rect)
Declaration
public override void SetPosition(Rect newPos)
Parameters
Type |
Name |
Description |
Rect |
newPos |
|
Overrides
|
Improve this Doc
View Source
ToggleCollapse()
Declaration
protected virtual void ToggleCollapse()
|
Improve this Doc
View Source
UseDefaultStyling()
Declaration
protected void UseDefaultStyling()
Implements
Extension Methods