Struct NodeHandle | Data Flow Graph | 0.16.0-preview.3
docs.unity3d.com
    Show / Hide Table of Contents

    Struct NodeHandle

    An untyped handle to any type of node instance. A handle can be thought of as a reference or an ID to an instance, and you can use with the various APIs in NodeSet to interact with the node.

    A valid handle is guaranteed to not be equal to a default initialized node handle. After a handle is destroyed, any handle with this value will be invalid.

    Use Exists(NodeHandle) to test whether the handle (still) refers to a valid instance. Create<TDefinition>() Destroy(NodeHandle)

    Inherited Members
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Unity.DataFlowGraph
    Syntax
    public struct NodeHandle : IEquatable<NodeHandle>

    Methods

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj
    Returns
    Type Description
    Boolean
    Overrides
    ValueType.Equals(Object)

    Equals(NodeHandle)

    Declaration
    public bool Equals(NodeHandle other)
    Parameters
    Type Name Description
    NodeHandle other
    Returns
    Type Description
    Boolean
    Implements
    IEquatable<T>.Equals(T)

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32
    Overrides
    ValueType.GetHashCode()

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Overrides
    ValueType.ToString()

    Operators

    Equality(NodeHandle, NodeHandle)

    Declaration
    public static bool operator ==(NodeHandle left, NodeHandle right)
    Parameters
    Type Name Description
    NodeHandle left
    NodeHandle right
    Returns
    Type Description
    Boolean

    Inequality(NodeHandle, NodeHandle)

    Declaration
    public static bool operator !=(NodeHandle left, NodeHandle right)
    Parameters
    Type Name Description
    NodeHandle left
    NodeHandle right
    Returns
    Type Description
    Boolean
    In This Article
    • Methods
      • Equals(Object)
      • Equals(NodeHandle)
      • GetHashCode()
      • ToString()
    • Operators
      • Equality(NodeHandle, NodeHandle)
      • Inequality(NodeHandle, NodeHandle)
    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