Class NodeSetAPI_Deprecated_Ext | Data Flow Graph | 0.19.0-preview.7
docs.unity3d.com
    Show / Hide Table of Contents

    Class NodeSetAPI_Deprecated_Ext

    Inheritance
    Object
    NodeSetAPI_Deprecated_Ext
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Unity.DataFlowGraph
    Syntax
    public static class NodeSetAPI_Deprecated_Ext

    Methods

    GetDefinition(NodeSetAPI, NodeHandle)

    Declaration
    [Obsolete("GetDefinition() should not be used within InitContext, DestroyContext, UpdateContext, or MessageContext. You should not rely on NodeDefinition polymorphism in these contexts. (RemovedAfter 2020-10-27)")]
    public static NodeDefinition GetDefinition(this NodeSetAPI set, NodeHandle handle)
    Parameters
    Type Name Description
    NodeSetAPI set
    NodeHandle handle
    Returns
    Type Description
    NodeDefinition

    GetDefinition<TDefinition>(NodeSetAPI)

    Declaration
    [Obsolete("GetDefinition() should not be used within InitContext, DestroyContext, UpdateContext, or MessageContext. You should not rely on NodeDefinition polymorphism in these contexts. (RemovedAfter 2020-10-27)")]
    public static TDefinition GetDefinition<TDefinition>(this NodeSetAPI set)
        where TDefinition : NodeDefinition, new()
    Parameters
    Type Name Description
    NodeSetAPI set
    Returns
    Type Description
    TDefinition
    Type Parameters
    Name Description
    TDefinition

    GetDefinition<TDefinition>(NodeSetAPI, NodeHandle<TDefinition>)

    Declaration
    [Obsolete("GetDefinition() should not be used within InitContext, DestroyContext, UpdateContext, or MessageContext. You should not rely on NodeDefinition polymorphism in these contexts. (RemovedAfter 2020-10-27)")]
    public static TDefinition GetDefinition<TDefinition>(this NodeSetAPI set, NodeHandle<TDefinition> handle)
        where TDefinition : NodeDefinition, new()
    Parameters
    Type Name Description
    NodeSetAPI set
    NodeHandle<TDefinition> handle
    Returns
    Type Description
    TDefinition
    Type Parameters
    Name Description
    TDefinition

    GetDSLHandler<TDSLHandler>(NodeSetAPI)

    Declaration
    [Obsolete("GetDSLHandler() should not be used within InitContext, DestroyContext, UpdateContext, or MessageContext. You should not rely on DSLHandler polymorphism in these contexts. (RemovedAfter 2020-10-27)")]
    public static TDSLHandler GetDSLHandler<TDSLHandler>(this NodeSetAPI set)
        where TDSLHandler : class, IDSLHandler, new()
    Parameters
    Type Name Description
    NodeSetAPI set
    Returns
    Type Description
    TDSLHandler
    Type Parameters
    Name Description
    TDSLHandler

    SendMessage<TMsg>(NodeSetAPI, NodeHandle, InputPortID, TMsg)

    Declaration
    [Obsolete("If a node wants to send a message to a child node that it has created, it should use a private MessageOutput port, connect it to the child's MessageInput port and then EmitMessage() instead. (RemovedAfter 2020-10-27)")]
    public static void SendMessage<TMsg>(this NodeSetAPI set, NodeHandle handle, InputPortID port, in TMsg msg)
    Parameters
    Type Name Description
    NodeSetAPI set
    NodeHandle handle
    InputPortID port
    TMsg msg
    Type Parameters
    Name Description
    TMsg

    SendMessage<TMsg>(NodeSetAPI, NodeHandle, InputPortID, Int32, TMsg)

    Declaration
    [Obsolete("If a node wants to send a message to a child node that it has created, it should use a private MessageOutput port, connect it to the child's MessageInput port and then EmitMessage() instead. (RemovedAfter 2020-10-27)")]
    public static void SendMessage<TMsg>(this NodeSetAPI set, NodeHandle handle, InputPortID portArray, int index, in TMsg msg)
    Parameters
    Type Name Description
    NodeSetAPI set
    NodeHandle handle
    InputPortID portArray
    Int32 index
    TMsg msg
    Type Parameters
    Name Description
    TMsg

    SendMessage<TMsg, TDefinition>(NodeSetAPI, NodeHandle<TDefinition>, MessageInput<TDefinition, TMsg>, TMsg)

    Declaration
    [Obsolete("If a node wants to send a message to a child node that it has created, it should use a private MessageOutput port, connect it to the child's MessageInput port and then EmitMessage() instead. (RemovedAfter 2020-10-27)")]
    public static void SendMessage<TMsg, TDefinition>(this NodeSetAPI set, NodeHandle<TDefinition> handle, MessageInput<TDefinition, TMsg> port, in TMsg msg)
        where TDefinition : NodeDefinition
    Parameters
    Type Name Description
    NodeSetAPI set
    NodeHandle<TDefinition> handle
    MessageInput<TDefinition, TMsg> port
    TMsg msg
    Type Parameters
    Name Description
    TMsg
    TDefinition

    SendMessage<TMsg, TDefinition>(NodeSetAPI, NodeHandle<TDefinition>, PortArray<MessageInput<TDefinition, TMsg>>, Int32, TMsg)

    Declaration
    [Obsolete("If a node wants to send a message to a child node that it has created, it should use a private MessageOutput port, connect it to the child's MessageInput port and then EmitMessage() instead. (RemovedAfter 2020-10-27)")]
    public static void SendMessage<TMsg, TDefinition>(this NodeSetAPI set, NodeHandle<TDefinition> handle, PortArray<MessageInput<TDefinition, TMsg>> portArray, int index, in TMsg msg)
        where TDefinition : NodeDefinition
    Parameters
    Type Name Description
    NodeSetAPI set
    NodeHandle<TDefinition> handle
    PortArray<MessageInput<TDefinition, TMsg>> portArray
    Int32 index
    TMsg msg
    Type Parameters
    Name Description
    TMsg
    TDefinition

    SendMessage<TTask, TMsg>(NodeSetAPI, NodeInterfaceLink<TTask>, TMsg)

    Declaration
    [Obsolete("If a node wants to send a message to a child node that it has created, it should use a private MessageOutput port, connect it to the child's MessageInput port and then EmitMessage() instead. (RemovedAfter 2020-10-27)")]
    public static void SendMessage<TTask, TMsg>(this NodeSetAPI set, NodeInterfaceLink<TTask> handle, in TMsg msg)
        where TTask : ITaskPort<TTask>
    Parameters
    Type Name Description
    NodeSetAPI set
    NodeInterfaceLink<TTask> handle
    TMsg msg
    Type Parameters
    Name Description
    TTask
    TMsg

    SendMessage<TTask, TMsg, TDestination>(NodeSetAPI, NodeInterfaceLink<TTask, TDestination>, TMsg)

    Declaration
    [Obsolete("If a node wants to send a message to a child node that it has created, it should use a private MessageOutput port, connect it to the child's MessageInput port and then EmitMessage() instead. (RemovedAfter 2020-10-27)")]
    public static void SendMessage<TTask, TMsg, TDestination>(this NodeSetAPI set, NodeInterfaceLink<TTask, TDestination> handle, in TMsg msg)
        where TTask : ITaskPort<TTask> where TDestination : NodeDefinition, TTask, new()
    Parameters
    Type Name Description
    NodeSetAPI set
    NodeInterfaceLink<TTask, TDestination> handle
    TMsg msg
    Type Parameters
    Name Description
    TTask
    TMsg
    TDestination

    SetData<TType>(NodeSetAPI, NodeHandle, InputPortID, TType)

    Declaration
    [Obsolete("If a node wants to send data to a child node that it has created, it should use a private MessageOutput port, connect it to the child's DataInput port and then EmitMessage() instead. (RemovedAfter 2020-10-27)")]
    public static void SetData<TType>(this NodeSetAPI set, NodeHandle handle, InputPortID port, in TType data)
        where TType : struct
    Parameters
    Type Name Description
    NodeSetAPI set
    NodeHandle handle
    InputPortID port
    TType data
    Type Parameters
    Name Description
    TType

    SetData<TType>(NodeSetAPI, NodeHandle, InputPortID, Int32, TType)

    Declaration
    [Obsolete("If a node wants to send data to a child node that it has created, it should use a private MessageOutput port, connect it to the child's DataInput port and then EmitMessage() instead. (RemovedAfter 2020-10-27)")]
    public static void SetData<TType>(this NodeSetAPI set, NodeHandle handle, InputPortID portArray, int index, in TType data)
        where TType : struct
    Parameters
    Type Name Description
    NodeSetAPI set
    NodeHandle handle
    InputPortID portArray
    Int32 index
    TType data
    Type Parameters
    Name Description
    TType

    SetData<TType, TDefinition>(NodeSetAPI, NodeHandle<TDefinition>, DataInput<TDefinition, TType>, TType)

    Declaration
    [Obsolete("If a node wants to send data to a child node that it has created, it should use a private MessageOutput port, connect it to the child's DataInput port and then EmitMessage() instead. (RemovedAfter 2020-10-27)")]
    public static void SetData<TType, TDefinition>(this NodeSetAPI set, NodeHandle<TDefinition> handle, DataInput<TDefinition, TType> port, in TType data)
        where TType : struct where TDefinition : NodeDefinition
    Parameters
    Type Name Description
    NodeSetAPI set
    NodeHandle<TDefinition> handle
    DataInput<TDefinition, TType> port
    TType data
    Type Parameters
    Name Description
    TType
    TDefinition

    SetData<TType, TDefinition>(NodeSetAPI, NodeHandle<TDefinition>, PortArray<DataInput<TDefinition, TType>>, Int32, TType)

    Declaration
    [Obsolete("If a node wants to send data to a child node that it has created, it should use a private MessageOutput port, connect it to the child's DataInput port and then EmitMessage() instead. (RemovedAfter 2020-10-27)")]
    public static void SetData<TType, TDefinition>(this NodeSetAPI set, NodeHandle<TDefinition> handle, PortArray<DataInput<TDefinition, TType>> portArray, int index, in TType data)
        where TType : struct where TDefinition : NodeDefinition
    Parameters
    Type Name Description
    NodeSetAPI set
    NodeHandle<TDefinition> handle
    PortArray<DataInput<TDefinition, TType>> portArray
    Int32 index
    TType data
    Type Parameters
    Name Description
    TType
    TDefinition
    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