Class NodeTraits<TNodeData, TSimPorts> | Data Flow Graph | 0.11.10-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Class NodeTraits<TNodeData, TSimPorts>

    Inheritance
    Object
    NodeTraitsBase
    NodeTraits<TNodeData, TSimPorts>
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.DataFlowGraph
    Syntax
    public sealed class NodeTraits<TNodeData, TSimPorts> : NodeTraitsBase where TNodeData : struct, INodeData where TSimPorts : struct, ISimulationPortDefinition
    Type Parameters
    Name Description
    TNodeData
    TSimPorts

    Methods

    GetNodeData(NodeHandle)

    Returns a reference to a node's instance memory.

    Declaration
    public TNodeData GetNodeData(NodeHandle handle)
    Parameters
    Type Name Description
    NodeHandle handle
    Returns
    Type Description
    TNodeData
    Exceptions
    Type Condition
    ArgumentException

    Thrown if the handle does not refer to a valid node.

    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