Class SimulationNodeDefinition<TSimulationPortDefinition> | Data Flow Graph | 0.19.0-preview.7
docs.unity3d.com
    Show / Hide Table of Contents

    Class SimulationNodeDefinition<TSimulationPortDefinition>

    Base class for a simulation-only node. The presence of an INodeData struct as a nested type in derived classes will automatically be discovered and used to hold simulation-side node data and declare the simulation handlers for the node. NodeDefinition

    Inheritance
    Object
    NodeDefinition
    SimulationNodeDefinition<TSimulationPortDefinition>
    SimulationKernelNodeDefinition<TSimulationPortDefinition, TKernelPortDefinition>
    D_Usage_DirectMessaging.MyNode
    E_Usage_FlowingMessages.MyNode
    O_Usage_WeakTyping.MyNode
    P_Usage_PortForwarding.ChildNode
    P_Usage_PortForwarding.ParentNode
    Inherited Members
    NodeDefinition.Set
    NodeDefinition.Dispose()
    NodeDefinition.HasStaticPortDescription
    NodeDefinition.GetStaticPortDescription()
    NodeDefinition.GetPortDescription(NodeHandle)
    NodeDefinition.EmitMessage<T, TNodeDefinition>(NodeHandle, MessageOutput<TNodeDefinition, T>, T)
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Unity.DataFlowGraph
    Syntax
    public abstract class SimulationNodeDefinition<TSimulationPortDefinition> : NodeDefinition where TSimulationPortDefinition : struct, ISimulationPortDefinition
    Type Parameters
    Name Description
    TSimulationPortDefinition

    Fields

    SimulationPorts

    The simulation port definition of this node's public contract. Use this to connect together messages and DSLs between nodes using the various methods of NodeSetAPI which require a port.

    This is the concrete static instance of the ISimulationPortDefinition struct used in the declaration of a node's Unity.DataFlowGraph.NodeDefinition`2 or other variant.

    Declaration
    public static readonly TSimulationPortDefinition SimulationPorts
    Field Value
    Type Description
    TSimulationPortDefinition
    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