docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class INodeEditor

    Describes how to draw a node, paired with GenericNodeview

    Inheritance
    object
    INodeEditor
    NodeEditor
    Inherited Members
    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 abstract class INodeEditor

    Fields

    Name Description
    _nodeGuid

    The node unique identifier

    _portDescriptions

    The port descriptions

    Properties

    Name Description
    BoundObject

    Gets or sets the bound object.

    BoundParameterGuid

    Gets or sets the bound parameter unique identifier.

    BoundParameterType

    Gets or sets the type of the bound parameter.

    Descriptor

    Gets the node descriptor.

    ExpandableType

    Gets or sets the type of the expandable.

    IsExpandable

    Gets or sets a value indicating whether this instance is expandable.

    NodeGuid

    Gets or sets the node unique identifier.

    NodeView

    Gets or sets the node view.

    Owner

    Gets or sets the owner.

    PortVisual

    Gets the port visual descriptors.

    Ports

    Gets the port editor list.

    SerializedNode

    Gets or sets the serialized node.

    SerializedParameter

    Gets or sets the serialized parameter.

    Methods

    Name Description
    AddChildSlot(IPortEditor, IPortEditor)

    Adds the child slot.

    AddChildVarSlot<T>(string, IPortEditor, T)

    Adds the child variable slot.

    AddSlot(IPortEditor)

    Adds the slot from a port description.

    AddVarSlotForBoundParameter<T>(string, string, PortDirection, FieldExtra, T)

    Adds the variable slot for bound parameter.

    AddVarSlot<T>(string, string, PortDirection, FieldExtra, T)

    Adds the attached variable to a node slot.

    ClearSlots(bool)

    Clears the slots.

    ConstructNode(bool)

    Constructs the node.

    FindInputSlot<T>(string)

    Finds the input slot by name.

    FindOutputSlot<T>(string)

    Finds the output slot by name.

    FindSlot<T>(string)

    Finds the slot by name.

    GetInputSlots<T>(List<T>)

    Gets the input slots.

    GetOutputSlots<T>(List<T>)

    Gets the output slots.

    GetSlots<T>(List<T>)

    Gets the slots.

    RefreshBoundParameter()

    Refreshes the bound parameter.

    RemoveChildSlot(IPortEditor, IPortEditor)

    Removes a specified child slot.

    RemoveSlot(IPortEditor)

    Removes the slot associated with the PortEditor

    RemoveSlot(string)

    Removes the slot by guid.

    SetDirty()

    Sets the dirty state.

    In This Article
    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)