[ Web Proxy ]
URL:
Viewing: https://docs.unity3d.com/ScriptReference/Unity.GraphToolkit.Editor.INode.html [Back]  [Original]

Unity - Scripting API: INode
Version: Unity 6.5 (6000.5)
    • Supported
    • Legacy
    LanguageEnglish
    • C#

    INode

    interface in Unity.GraphToolkit.Editor

    Suggest a change

    Success!

    Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

    Close

    Submission failed

    For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

    Close
    Your name Your email Suggestion* Submit suggestion

    Cancel

    Description

    Interface for a node.

    This interface provides methods for accessing input and output ports, which are essential for connecting nodes.

    Properties

    Property Description
    DefaultColor The highlight color of the node. The highlight is located on the upper border of nodes, and on the upper and lower borders of context nodes.
    Graph The Graph that contains this node.
    InputPortCount The number of input ports on the node.
    IsConnected Whether the node is connected to at least one other node.
    NodeOptionCount The number of node options defined in the node.
    NodeOptions The node options defined on this node.
    OutputPortCount The number of output ports on the node.
    Position The position of the node in the graph.
    Subtitle The secondary text displayed in the node's header.
    Title The main text displayed in the node's header.
    Tooltip The text displayed when hovering over the node's header.

    Public Methods

    Method Description
    GetInputPort Retrieves an input port using its index.
    GetInputPortByName Retrieves an input port using its name.
    GetInputPorts Retrieves all input ports on the node in the order they are displayed.
    GetNodeOption Retrieves a node option using its zero-based index.
    GetNodeOptionByName Retrieves a node option using its name.
    GetOutputPort Retrieves an output port using its index in the displayed order.
    GetOutputPortByName Retrieves an output port using its name.
    GetOutputPorts Retrieves all output ports on the node in the order they are displayed.
    RemoveFromGraph Removes the node from its graph.

    Web Proxy Viewer  |  New URL  |  Original Page