docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class NodeEditor

    NodeEditor extension for SystemGraph node. It is a container for the information within a node: ports, position, state of ports. Describes how to draw a node. Implements the INodeEditor

    Inheritance
    object
    INodeEditor
    NodeEditor
    Inherited Members
    INodeEditor._portDescriptions
    INodeEditor._nodeGuid
    INodeEditor.PortVisual
    INodeEditor.Ports
    INodeEditor.Owner
    INodeEditor.Descriptor
    INodeEditor.NodeView
    INodeEditor.IsExpandable
    INodeEditor.ExpandableType
    INodeEditor.BoundParameterType
    INodeEditor.BoundParameterGuid
    INodeEditor.BoundObject
    INodeEditor.NodeGuid
    INodeEditor.SerializedNode
    INodeEditor.SerializedParameter
    INodeEditor.ClearSlots(bool)
    INodeEditor.GetInputSlots<T>(List<T>)
    INodeEditor.GetOutputSlots<T>(List<T>)
    INodeEditor.GetSlots<T>(List<T>)
    INodeEditor.AddChildVarSlot<T>(string, IPortEditor, T)
    INodeEditor.AddChildSlot(IPortEditor, IPortEditor)
    INodeEditor.RemoveChildSlot(IPortEditor, IPortEditor)
    INodeEditor.AddVarSlotForBoundParameter<T>(string, string, PortDirection, FieldExtra, T)
    INodeEditor.AddVarSlot<T>(string, string, PortDirection, FieldExtra, T)
    INodeEditor.AddSlot(IPortEditor)
    INodeEditor.FindSlot<T>(string)
    INodeEditor.FindInputSlot<T>(string)
    INodeEditor.FindOutputSlot<T>(string)
    INodeEditor.RemoveSlot(IPortEditor)
    INodeEditor.RemoveSlot(string)
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Mechatronics.SystemGraph
    Assembly: solution.dll
    Syntax
    [Serializable]
    public class NodeEditor : INodeEditor

    Constructors

    Name Description
    NodeEditor(NodeRuntime)

    Initializes a new instance of the NodeEditor class.

    Fields

    Name Description
    AttachedProperty

    The attached property

    targetGroup

    The target group

    Properties

    Name Description
    DisplayName

    Gets or sets the display name.

    Expanded

    Gets or sets a value indicating whether this NodeEditor is expanded.

    MirrorPorts

    Gets or sets a value indicating whether ports are mirrored.

    NodeRT

    Gets or sets the node runtime.

    Position

    Gets or sets the position of the node editor.

    Methods

    Name Description
    AddDynamicPort(string, Type, PortDirection, FieldExtra)

    Adds a dynamic port to the node.

    AddListPort<T>(IPortEditor, string, T)

    Adds a list port.

    AddListPort<T>(string)

    Adds a list port.

    AddListPort<T>(string, T)

    Adds a list port.

    AddPorts()

    Adds the ports of that node editor.

    ConstructNode(bool)

    Constructs the node from this node editor.

    GetPortIndex(PortView)

    Gets the index of the port.

    IsDebugMode()

    Determines whether we are in debug mode.

    NodeType()

    Retrieve the node type name.

    RefreshBoundParameter()

    Refreshes the bound parameter information.

    RemoveDynamicPort(string)

    Removes a dynamic port.

    RemoveListPort(IPortEditor)

    Removes a list port.

    RenameDynamicPort(int, string)

    Renames a dynamic port.

    RenameDynamicPort(string, string)

    Renames a dynamic port.

    SetDirty()

    Sets the dirty state. Setting dirty to true will generate the serialized data for this node editor.

    SortSlots()

    Sorts the slots so they show up in the customized order.

    See Also

    INodeEditor
    In This Article
    • Constructors
    • Fields
    • Properties
    • Methods
    • See Also
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)