Class NodeSetAPI_Deprecated_Ext
Inheritance
NodeSetAPI_Deprecated_Ext
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
Returns
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
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
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
Returns
Type |
Description |
TDSLHandler |
|
Type Parameters
Name |
Description |
TDSLHandler |
|
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 Parameters
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 Parameters
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 Parameters
Name |
Description |
TMsg |
|
TDefinition |
|
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 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 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 Parameters
Name |
Description |
TTask |
|
TMsg |
|
TDestination |
|
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 Parameters
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 Parameters
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 Parameters
Name |
Description |
TType |
|
TDefinition |
|
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 Parameters
Name |
Description |
TType |
|
TDefinition |
|