Interface INode | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Interface INode

    Namespace: UnityEditor.Graphing
    Syntax
    public interface INode

    Properties

    canDeleteNode

    Declaration
    bool canDeleteNode { get; }
    Property Value
    Type Description
    System.Boolean

    drawState

    Declaration
    DrawState drawState { get; set; }
    Property Value
    Type Description
    DrawState

    guid

    Declaration
    Guid guid { get; }
    Property Value
    Type Description
    Guid

    hasError

    Declaration
    bool hasError { get; }
    Property Value
    Type Description
    System.Boolean

    name

    Declaration
    string name { get; set; }
    Property Value
    Type Description
    System.String

    owner

    Declaration
    IGraph owner { get; set; }
    Property Value
    Type Description
    IGraph

    tempId

    Declaration
    Identifier tempId { get; set; }
    Property Value
    Type Description
    Identifier

    Methods

    AddSlot(ISlot)

    Declaration
    void AddSlot(ISlot slot)
    Parameters
    Type Name Description
    ISlot slot

    Dirty(ModificationScope)

    Declaration
    void Dirty(ModificationScope scope)
    Parameters
    Type Name Description
    ModificationScope scope

    FindInputSlot<T>(Int32)

    Declaration
    T FindInputSlot<T>(int slotId)where T : ISlot
    Parameters
    Type Name Description
    System.Int32 slotId
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    FindOutputSlot<T>(Int32)

    Declaration
    T FindOutputSlot<T>(int slotId)where T : ISlot
    Parameters
    Type Name Description
    System.Int32 slotId
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    FindSlot<T>(Int32)

    Declaration
    T FindSlot<T>(int slotId)where T : ISlot
    Parameters
    Type Name Description
    System.Int32 slotId
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T

    GetInputSlots<T>(List<T>)

    Declaration
    void GetInputSlots<T>(List<T> foundSlots)where T : ISlot
    Parameters
    Type Name Description
    List<T> foundSlots
    Type Parameters
    Name Description
    T

    GetInputsWithNoConnection()

    Declaration
    IEnumerable<ISlot> GetInputsWithNoConnection()
    Returns
    Type Description
    IEnumerable<ISlot>

    GetOutputSlots<T>(List<T>)

    Declaration
    void GetOutputSlots<T>(List<T> foundSlots)where T : ISlot
    Parameters
    Type Name Description
    List<T> foundSlots
    Type Parameters
    Name Description
    T

    GetSlotReference(Int32)

    Declaration
    SlotReference GetSlotReference(int slotId)
    Parameters
    Type Name Description
    System.Int32 slotId
    Returns
    Type Description
    SlotReference

    GetSlots<T>(List<T>)

    Declaration
    void GetSlots<T>(List<T> foundSlots)where T : ISlot
    Parameters
    Type Name Description
    List<T> foundSlots
    Type Parameters
    Name Description
    T

    RegisterCallback(OnNodeModified)

    Declaration
    void RegisterCallback(OnNodeModified callback)
    Parameters
    Type Name Description
    OnNodeModified callback

    RemoveSlot(Int32)

    Declaration
    void RemoveSlot(int slotId)
    Parameters
    Type Name Description
    System.Int32 slotId

    RewriteGuid()

    Declaration
    Guid RewriteGuid()
    Returns
    Type Description
    Guid

    UnregisterCallback(OnNodeModified)

    Declaration
    void UnregisterCallback(OnNodeModified callback)
    Parameters
    Type Name Description
    OnNodeModified callback

    UpdateNodeAfterDeserialization()

    Declaration
    void UpdateNodeAfterDeserialization()

    ValidateNode()

    Declaration
    void ValidateNode()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023