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

    Class SimulationKernelNodeDefinition<TSimulationPortDefinition, TKernelPortDefinition>

    Base class for a combined simulation / rendering node. The presence of IKernelData and IGraphKernel structs as nested types in derived classes is mandatory and will automatically be discovered and used to hold rendering-side node data and declare the rendering function. 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>
    AnimationMixer
    DirectionRotator
    PositionAnimator
    PolynomialCubeRotator.PhaseNode
    H_Feature_KernelData.MyNode
    N_Feature_PortArrays.MyNode
    Inherited Members
    SimulationNodeDefinition<TSimulationPortDefinition>.SimulationPorts
    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 SimulationKernelNodeDefinition<TSimulationPortDefinition, TKernelPortDefinition> : SimulationNodeDefinition<TSimulationPortDefinition> where TSimulationPortDefinition : struct, ISimulationPortDefinition where TKernelPortDefinition : struct, IKernelPortDefinition
    Type Parameters
    Name Description
    TSimulationPortDefinition
    TKernelPortDefinition

    Fields

    KernelPorts

    The kernel port definition of this node's public contract. Use this to connect together data flow in the rendering part of the graph using the various methods of NodeSetAPI which require a port.

    This is the concrete static instance of the IKernelPortDefinition struct used in the declaration of a node's Unity.DataFlowGraph.NodeDefinition`5. IGraphKernel<TKernelData, TKernelPortDefinition>

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