Class NodeSet
Syntax
public class NodeSet : IDisposable
Constructors
NodeSet()
Construct a node set. Remember to dispose it.
Dispose()
Declaration
Properties
RendererModel
Declaration
public RenderExecutionModel RendererModel { get; set; }
Property Value
Methods
Adapt(NodeHandle)
Declaration
public NodeAdapter Adapt(NodeHandle n)
Parameters
Returns
Adapt<TDefinition>(NodeHandle<TDefinition>)
Declaration
public NodeAdapter<TDefinition> Adapt<TDefinition>(NodeHandle<TDefinition> n)
where TDefinition : INodeDefinition, new()
Parameters
Returns
Type Parameters
| Name |
Description |
| TDefinition |
|
As<TDefinition>(NodeHandle)
Declaration
public NodeHandle<TDefinition>? As<TDefinition>(NodeHandle handle)
where TDefinition : INodeDefinition
Parameters
Returns
Type Parameters
| Name |
Description |
| TDefinition |
|
Exceptions
CastHandle<TDefinition>(NodeHandle)
Declaration
public NodeHandle<TDefinition> CastHandle<TDefinition>(NodeHandle handle)
where TDefinition : INodeDefinition
Parameters
Returns
Type Parameters
| Name |
Description |
| TDefinition |
|
Exceptions
Create a persistent connection between an output port on the source node and an input port of matching type
on the destination node.
Declaration
public void Connect(NodeHandle sourceHandle, OutputPortID sourcePort, NodeHandle destHandle, InputPortID destinationPort)
Parameters
Exceptions
Declaration
public void Connect(NodeHandle sourceHandle, OutputPortID sourcePort, NodeHandle destHandle, InputPortID destinationPortArray, ushort index)
Parameters
Exceptions
Connect<TTask>(NodeHandle, OutputPortID, NodeInterfaceLink<TTask>)
Declaration
public void Connect<TTask>(NodeHandle sourceHandle, OutputPortID sourcePort, NodeInterfaceLink<TTask> destHandle)
where TTask : ITaskPort<TTask>
Parameters
Type Parameters
Declaration
public void Connect<TType, TSource, TDestination>(NodeHandle<TSource> sourceHandle, DataOutput<TSource, TType> sourcePort, NodeHandle<TDestination> destHandle, DataInput<TDestination, TType> destPort)
where TType : struct where TSource : INodeDefinition where TDestination : INodeDefinition
Parameters
Type Parameters
| Name |
Description |
| TType |
|
| TSource |
|
| TDestination |
|
Declaration
public void Connect<TType, TSource, TDestination>(NodeHandle<TSource> sourceHandle, DataOutput<TSource, TType> sourcePort, NodeHandle<TDestination> destHandle, PortArray<DataInput<TDestination, TType>> destPortArray, ushort index)
where TType : struct where TSource : INodeDefinition where TDestination : INodeDefinition
Parameters
Type Parameters
| Name |
Description |
| TType |
|
| TSource |
|
| TDestination |
|
Exceptions
Declaration
public void Connect<TMsg, TSource, TDestination>(NodeHandle<TSource> sourceHandle, MessageOutput<TSource, TMsg> sourcePort, NodeHandle<TDestination> destHandle, MessageInput<TDestination, TMsg> destPort)
where TSource : INodeDefinition where TDestination : INodeDefinition, IMsgHandler<TMsg>
Parameters
Type Parameters
| Name |
Description |
| TMsg |
|
| TSource |
|
| TDestination |
|
Declaration
public void Connect<TMsg, TSource, TDestination>(NodeHandle<TSource> sourceHandle, MessageOutput<TSource, TMsg> sourcePort, NodeHandle<TDestination> destHandle, PortArray<MessageInput<TDestination, TMsg>> destPortArray, ushort index)
where TSource : INodeDefinition where TDestination : INodeDefinition, IMsgHandler<TMsg>
Parameters
Type Parameters
| Name |
Description |
| TMsg |
|
| TSource |
|
| TDestination |
|
Exceptions
Connect<TTask, TType, TSource, TDestination>(NodeHandle<TSource>, DataOutput<TSource, TType>, NodeInterfaceLink<TTask, TDestination>)
Declaration
public void Connect<TTask, TType, TSource, TDestination>(NodeHandle<TSource> sourceHandle, DataOutput<TSource, TType> sourcePort, NodeInterfaceLink<TTask, TDestination> destHandle)
where TTask : ITaskPort<TTask> where TType : struct where TSource : INodeDefinition where TDestination : INodeDefinition, TTask
Parameters
Type Parameters
| Name |
Description |
| TTask |
|
| TType |
|
| TSource |
|
| TDestination |
|
Declaration
public void Connect<TDSLHandler, TDSL, TSource, TDestination>(NodeHandle<TSource> sourceHandle, DSLOutput<TSource, TDSLHandler, TDSL> sourcePort, NodeHandle<TDestination> destHandle, DSLInput<TDestination, TDSLHandler, TDSL> destPort)
where TDSLHandler : DSLHandler<TDSL>, new()
where TDSL : class where TSource : INodeDefinition, TDSL where TDestination : INodeDefinition, TDSL
Parameters
| Type |
Name |
Description |
| NodeHandle<TSource> |
sourceHandle |
|
| DSLOutput<TSource, TDSLHandler, TDSL> |
sourcePort |
|
| NodeHandle<TDestination> |
destHandle |
|
| DSLInput<TDestination, TDSLHandler, TDSL> |
destPort |
|
Type Parameters
| Name |
Description |
| TDSLHandler |
|
| TDSL |
|
| TSource |
|
| TDestination |
|
Connect<TTask, TMsg, TSource, TDestination>(NodeHandle<TSource>, MessageOutput<TSource, TMsg>, NodeInterfaceLink<TTask, TDestination>)
Declaration
public void Connect<TTask, TMsg, TSource, TDestination>(NodeHandle<TSource> sourceHandle, MessageOutput<TSource, TMsg> sourcePort, NodeInterfaceLink<TTask, TDestination> destHandle)
where TTask : ITaskPort<TTask> where TSource : INodeDefinition where TDestination : TTask, INodeDefinition, IMsgHandler<TMsg>
Parameters
Type Parameters
| Name |
Description |
| TTask |
|
| TMsg |
|
| TSource |
|
| TDestination |
|
Connect<TTask, TDSLHandler, TDSL, TSource, TDestination>(NodeHandle<TSource>, DSLOutput<TSource, TDSLHandler, TDSL>, NodeInterfaceLink<TTask, TDestination>)
Declaration
public void Connect<TTask, TDSLHandler, TDSL, TSource, TDestination>(NodeHandle<TSource> sourceHandle, DSLOutput<TSource, TDSLHandler, TDSL> sourcePort, NodeInterfaceLink<TTask, TDestination> destHandle)
where TTask : ITaskPort<TTask> where TDSLHandler : DSLHandler<TDSL>, new()
where TDSL : class where TSource : INodeDefinition, TDSL where TDestination : TTask, INodeDefinition
Parameters
Type Parameters
| Name |
Description |
| TTask |
|
| TDSLHandler |
|
| TDSL |
|
| TSource |
|
| TDestination |
|
Create<TDefinition>()
Instantiates a particular type of node. If this is the first time
this node type is created, the TDefinition
is instantiated as well.
Remember to destroy the node again.
Destroy(NodeHandle)
Declaration
public NodeHandle<TDefinition> Create<TDefinition>()
where TDefinition : INodeDefinition, new()
Returns
| Type |
Description |
| NodeHandle<TDefinition> |
A handle to a node, that uniquely identifies the instantiated node.
The handle returned is "strongly" typed in that it is verified to
refer to such a node type - see NodeHandle<TDefinition>
for more information.
This handle is the primary interface for all APIs on nodes.
After the node has been destroyed, any copy of this handle is
invalidated, see Exists(NodeHandle).
|
Type Parameters
| Name |
Description |
| TDefinition |
|
Exceptions
CreateGraphValue<T>(NodeHandle, OutputPortID)
Declaration
public GraphValue<T> CreateGraphValue<T>(NodeHandle handle, OutputPortID output)
where T : struct
Parameters
Returns
Type Parameters
Exceptions
CreateGraphValue<T, TDefinition>(NodeHandle<TDefinition>, DataOutput<TDefinition, T>)
Declaration
public GraphValue<T> CreateGraphValue<T, TDefinition>(NodeHandle<TDefinition> node, DataOutput<TDefinition, T> output)
where T : struct where TDefinition : INodeDefinition
Parameters
Returns
Type Parameters
| Name |
Description |
| T |
|
| TDefinition |
|
Remarks
Exceptions
See Also
Destroy(NodeHandle)
Declaration
public void Destroy(NodeHandle handle)
Parameters
Exceptions
Destroy(NodeHandle[])
Declaration
public void Destroy(params NodeHandle[] handles)
Parameters
Removes a previously made connection between an output port on the source node and an input port on the
destination node.
Declaration
public void Disconnect(NodeHandle sourceHandle, OutputPortID sourcePort, NodeHandle destHandle, InputPortID destinationPort)
Parameters
Exceptions
Declaration
public void Disconnect(NodeHandle sourceHandle, OutputPortID sourcePort, NodeHandle destHandle, InputPortID destinationPortArray, ushort index)
Parameters
Exceptions
Disconnect<TTask>(NodeHandle, OutputPortID, NodeInterfaceLink<TTask>)
Declaration
public void Disconnect<TTask>(NodeHandle sourceHandle, OutputPortID sourcePort, NodeInterfaceLink<TTask> destHandle)
where TTask : ITaskPort<TTask>
Parameters
Type Parameters
Declaration
public void Disconnect<TType, TSource, TDestination>(NodeHandle<TSource> sourceHandle, DataOutput<TSource, TType> sourcePort, NodeHandle<TDestination> destHandle, DataInput<TDestination, TType> destPort)
where TType : struct where TSource : INodeDefinition where TDestination : INodeDefinition
Parameters
Type Parameters
| Name |
Description |
| TType |
|
| TSource |
|
| TDestination |
|
Declaration
public void Disconnect<TType, TSource, TDestination>(NodeHandle<TSource> sourceHandle, DataOutput<TSource, TType> sourcePort, NodeHandle<TDestination> destHandle, PortArray<DataInput<TDestination, TType>> destPortArray, ushort index)
where TType : struct where TSource : INodeDefinition where TDestination : INodeDefinition
Parameters
Type Parameters
| Name |
Description |
| TType |
|
| TSource |
|
| TDestination |
|
Exceptions
Declaration
public void Disconnect<TMsg, TSource, TDestination>(NodeHandle<TSource> sourceHandle, MessageOutput<TSource, TMsg> sourcePort, NodeHandle<TDestination> destHandle, MessageInput<TDestination, TMsg> destPort)
where TSource : INodeDefinition where TDestination : INodeDefinition, IMsgHandler<TMsg>
Parameters
Type Parameters
| Name |
Description |
| TMsg |
|
| TSource |
|
| TDestination |
|
Declaration
public void Disconnect<TMsg, TSource, TDestination>(NodeHandle<TSource> sourceHandle, MessageOutput<TSource, TMsg> sourcePort, NodeHandle<TDestination> destHandle, PortArray<MessageInput<TDestination, TMsg>> destPortArray, ushort index)
where TSource : INodeDefinition where TDestination : INodeDefinition, IMsgHandler<TMsg>
Parameters
Type Parameters
| Name |
Description |
| TMsg |
|
| TSource |
|
| TDestination |
|
Exceptions
Disconnect<TTask, TType, TSource, TDestination>(NodeHandle<TSource>, DataOutput<TSource, TType>, NodeInterfaceLink<TTask, TDestination>)
Declaration
public void Disconnect<TTask, TType, TSource, TDestination>(NodeHandle<TSource> sourceHandle, DataOutput<TSource, TType> sourcePort, NodeInterfaceLink<TTask, TDestination> destHandle)
where TTask : ITaskPort<TTask> where TType : struct where TSource : INodeDefinition where TDestination : INodeDefinition, TTask
Parameters
Type Parameters
| Name |
Description |
| TTask |
|
| TType |
|
| TSource |
|
| TDestination |
|
Declaration
public void Disconnect<TDSLHandler, TDSL, TSource, TDestination>(NodeHandle<TSource> sourceHandle, DSLOutput<TSource, TDSLHandler, TDSL> sourcePort, NodeHandle<TDestination> destHandle, DSLInput<TDestination, TDSLHandler, TDSL> destPort)
where TDSLHandler : DSLHandler<TDSL>, new()
where TDSL : class where TSource : INodeDefinition, TDSL where TDestination : INodeDefinition, TDSL
Parameters
| Type |
Name |
Description |
| NodeHandle<TSource> |
sourceHandle |
|
| DSLOutput<TSource, TDSLHandler, TDSL> |
sourcePort |
|
| NodeHandle<TDestination> |
destHandle |
|
| DSLInput<TDestination, TDSLHandler, TDSL> |
destPort |
|
Type Parameters
| Name |
Description |
| TDSLHandler |
|
| TDSL |
|
| TSource |
|
| TDestination |
|
Disconnect<TTask, TMsg, TSource, TDestination>(NodeHandle<TSource>, MessageOutput<TSource, TMsg>, NodeInterfaceLink<TTask, TDestination>)
Declaration
public void Disconnect<TTask, TMsg, TSource, TDestination>(NodeHandle<TSource> sourceHandle, MessageOutput<TSource, TMsg> sourcePort, NodeInterfaceLink<TTask, TDestination> destHandle)
where TTask : ITaskPort<TTask> where TSource : INodeDefinition where TDestination : INodeDefinition, TTask, IMsgHandler<TMsg>
Parameters
Type Parameters
| Name |
Description |
| TTask |
|
| TMsg |
|
| TSource |
|
| TDestination |
|
Disconnect<TTask, TDSLHandler, TDSL, TSource, TDestination>(NodeHandle<TSource>, DSLOutput<TSource, TDSLHandler, TDSL>, NodeInterfaceLink<TTask, TDestination>)
Declaration
public void Disconnect<TTask, TDSLHandler, TDSL, TSource, TDestination>(NodeHandle<TSource> sourceHandle, DSLOutput<TSource, TDSLHandler, TDSL> sourcePort, NodeInterfaceLink<TTask, TDestination> destHandle)
where TTask : ITaskPort<TTask> where TDSLHandler : DSLHandler<TDSL>, new()
where TDSL : class where TSource : INodeDefinition, TDSL where TDestination : INodeDefinition, TDSL, TTask
Parameters
Type Parameters
| Name |
Description |
| TTask |
|
| TDSLHandler |
|
| TDSL |
|
| TSource |
|
| TDestination |
|
Declaration
public void DisconnectAndRetainValue(NodeHandle sourceHandle, OutputPortID sourcePort, NodeHandle destHandle, InputPortID destinationPort)
Parameters
Exceptions
Declaration
public void DisconnectAndRetainValue(NodeHandle sourceHandle, OutputPortID sourcePort, NodeHandle destHandle, InputPortID destinationPortArray, ushort index)
Parameters
Exceptions
Declaration
public void DisconnectAndRetainValue<TType, TSource, TDestination>(NodeHandle<TSource> sourceHandle, DataOutput<TSource, TType> sourcePort, NodeHandle<TDestination> destHandle, DataInput<TDestination, TType> destPort)
where TType : struct where TSource : INodeDefinition, new()
where TDestination : INodeDefinition, new()
Parameters
Type Parameters
| Name |
Description |
| TType |
|
| TSource |
|
| TDestination |
|
Declaration
public void DisconnectAndRetainValue<TType, TSource, TDestination>(NodeHandle<TSource> sourceHandle, DataOutput<TSource, TType> sourcePort, NodeHandle<TDestination> destHandle, PortArray<DataInput<TDestination, TType>> destPortArray, ushort index)
where TType : struct where TSource : INodeDefinition, new()
where TDestination : INodeDefinition, new()
Parameters
Type Parameters
| Name |
Description |
| TType |
|
| TSource |
|
| TDestination |
|
Exceptions
Dispose()
Cleans up the node set, and releasing any resources associated with it.
Declaration
Implements
Exists(NodeHandle)
Tests whether the supplied node handle refers to a currently valid
node instance.
Declaration
public bool Exists(NodeHandle handle)
Parameters
Returns
Finalize()
Declaration
protected void Finalize()
GetDSLHandler<TDSLHandler>()
Declaration
public TDSLHandler GetDSLHandler<TDSLHandler>()
where TDSLHandler : class, IDSLHandler
Returns
| Type |
Description |
| TDSLHandler |
|
Type Parameters
| Name |
Description |
| TDSLHandler |
|
GetFunctionality(NodeHandle)
Declaration
public INodeFunctionality GetFunctionality(NodeHandle handle)
Parameters
Returns
Exceptions
| Type |
Condition |
| ArgumentException |
Thrown if the node handle does not refer to a valid instance.
|
GetFunctionality<TDefinition>()
Looks up the specified functionality interface, creating it if it
doesn't exist already.
Declaration
public TDefinition GetFunctionality<TDefinition>()
where TDefinition : INodeDefinition, new()
Returns
| Type |
Description |
| TDefinition |
|
Type Parameters
| Name |
Description |
| TDefinition |
|
Exceptions
GetFunctionality<TDefinition>(NodeHandle<TDefinition>)
Declaration
public TDefinition GetFunctionality<TDefinition>(NodeHandle<TDefinition> handle)
where TDefinition : INodeDefinition, new()
Parameters
| Type |
Name |
Description |
| NodeHandle<TDefinition> |
handle |
|
Returns
| Type |
Description |
| TDefinition |
|
Type Parameters
| Name |
Description |
| TDefinition |
|
Exceptions
| Type |
Condition |
| ArgumentException |
Thrown if the node handle does not refer to a valid instance.
|
GetGraphValueResolver(out JobHandle)
Returns a GraphValueResolver that can be used to asynchronously
read back graph state and buffers in a job. Put the resolver on a job ("consumer"),
and schedule it against the parameter resultDependency.
Any job handles referencing the resolver must to be submitted back to the node
set through InjectDependencyFromConsumer(JobHandle).
Declaration
public GraphValueResolver GetGraphValueResolver(out JobHandle resultDependency)
Parameters
| Type |
Name |
Description |
| JobHandle |
resultDependency |
Contains an aggregation of dependencies from the last Update()
for any created graph values.
|
Returns
Remarks
GetValueBlocking<T>(GraphValue<T>)
Declaration
public T GetValueBlocking<T>(GraphValue<T> graphValue)
where T : struct
Parameters
Returns
Type Parameters
Exceptions
| Type |
Condition |
| ObjectDisposedException |
Thrown if the graph value is invalid or disposed, or the referenced node has been destroyed
|
InjectDependencyFromConsumer(JobHandle)
Injects external dependencies into this node set, so the next Update()
synchronizes against consumers of any data from this node set.
Declaration
public void InjectDependencyFromConsumer(JobHandle handle)
Parameters
| Type |
Name |
Description |
| JobHandle |
handle |
|
See Also
Is<TDefinition>(NodeHandle)
Tests whether the node instance referred to by the handle
is a TDefinition.
Declaration
public bool Is<TDefinition>(NodeHandle handle)
where TDefinition : INodeDefinition
Parameters
Returns
Type Parameters
| Name |
Description |
| TDefinition |
|
ReleaseGraphValue<T>(GraphValue<T>)
Declaration
public void ReleaseGraphValue<T>(GraphValue<T> graphValue)
Parameters
Type Parameters
Exceptions
Send a message of a specific type to a message input port on a node.
Declaration
public void SendMessage<TMsg>(NodeHandle handle, InputPortID port, in TMsg msg)
Parameters
Type Parameters
Exceptions
Overload of
targeting a port array with an index parameter.
Declaration
public void SendMessage<TMsg>(NodeHandle handle, InputPortID portArray, ushort index, in TMsg msg)
Parameters
Type Parameters
Exceptions
Declaration
public void SendMessage<TMsg, TDefinition>(NodeHandle<TDefinition> handle, MessageInput<TDefinition, TMsg> port, in TMsg msg)
where TDefinition : INodeDefinition, IMsgHandler<TMsg>, new()
Parameters
Type Parameters
| Name |
Description |
| TMsg |
|
| TDefinition |
|
Overload of
targeting a port array with an index parameter.
Declaration
public void SendMessage<TMsg, TDefinition>(NodeHandle<TDefinition> handle, PortArray<MessageInput<TDefinition, TMsg>> portArray, ushort index, in TMsg msg)
where TDefinition : INodeDefinition, IMsgHandler<TMsg>, new()
Parameters
Type Parameters
| Name |
Description |
| TMsg |
|
| TDefinition |
|
Exceptions
SendMessage<TTask, TMsg>(NodeInterfaceLink<TTask>, TMsg)
Declaration
public void SendMessage<TTask, TMsg>(NodeInterfaceLink<TTask> handle, in TMsg msg)
where TTask : ITaskPort<TTask>
Parameters
Type Parameters
| Name |
Description |
| TTask |
|
| TMsg |
|
SendMessage<TTask, TMsg, TDestination>(NodeInterfaceLink<TTask, TDestination>, TMsg)
Declaration
public void SendMessage<TTask, TMsg, TDestination>(NodeInterfaceLink<TTask, TDestination> handle, in TMsg msg)
where TTask : ITaskPort<TTask> where TDestination : TTask, INodeDefinition, IMsgHandler<TMsg>
Parameters
Type Parameters
| Name |
Description |
| TTask |
|
| TMsg |
|
| TDestination |
|
SetBufferSize<TType>(NodeHandle, OutputPortID, TType)
Declaration
public void SetBufferSize<TType>(NodeHandle handle, OutputPortID port, in TType requestedSize)
where TType : struct
Parameters
Type Parameters
Exceptions
SetBufferSize<TDefinition, TType>(NodeHandle<TDefinition>, DataOutput<TDefinition, TType>, TType)
Declaration
public void SetBufferSize<TDefinition, TType>(NodeHandle<TDefinition> handle, DataOutput<TDefinition, TType> port, in TType requestedSize)
where TDefinition : INodeDefinition where TType : struct
Parameters
| Type |
Name |
Description |
| NodeHandle<TDefinition> |
handle |
|
| DataOutput<TDefinition, TType> |
port |
|
| TType |
requestedSize |
|
Type Parameters
| Name |
Description |
| TDefinition |
|
| TType |
|
Exceptions
Sets the data on an unconnected data input port on a node.
The data will persist on the input until a connection is made to that input, or, it replaced by another call to .
Declaration
public void SetData<TType>(NodeHandle handle, InputPortID port, in TType data)
where TType : struct
Parameters
Type Parameters
Exceptions
Overload of
targeting a port array with an index parameter.
Declaration
public void SetData<TType>(NodeHandle handle, InputPortID portArray, ushort index, in TType data)
where TType : struct
Parameters
Type Parameters
Exceptions
Declaration
public void SetData<TType, TDefinition>(NodeHandle<TDefinition> handle, DataInput<TDefinition, TType> port, in TType data)
where TType : struct where TDefinition : INodeDefinition, new()
Parameters
| Type |
Name |
Description |
| NodeHandle<TDefinition> |
handle |
|
| DataInput<TDefinition, TType> |
port |
|
| TType |
data |
|
Type Parameters
| Name |
Description |
| TType |
|
| TDefinition |
|
Overload of
targeting a port array with an index parameter.
Declaration
public void SetData<TType, TDefinition>(NodeHandle<TDefinition> handle, PortArray<DataInput<TDefinition, TType>> portArray, ushort index, in TType data)
where TType : struct where TDefinition : INodeDefinition, new()
Parameters
Type Parameters
| Name |
Description |
| TType |
|
| TDefinition |
|
Exceptions
Set the size of an array of ports.
Declaration
public void SetPortArraySize(NodeHandle handle, InputPortID portArray, ushort size)
Parameters
| Type |
Name |
Description |
| NodeHandle |
handle |
Node on which to set the size of the array of ports
|
| InputPortID |
portArray |
Port array to be modified
|
| UInt16 |
size |
Desired array size
|
Exceptions
| Type |
Condition |
| InvalidOperationException |
Thrown if the given port is not a , or, if downsizing the array would invalidate existing connections
|
Set the size of an array of data ports.
Declaration
public void SetPortArraySize<TDefinition, TType>(NodeHandle<TDefinition> handle, PortArray<DataInput<TDefinition, TType>> portArray, ushort size)
where TDefinition : INodeDefinition where TType : struct
Parameters
| Type |
Name |
Description |
| NodeHandle<TDefinition> |
handle |
Node on which to set the size of the array of ports
|
| PortArray<DataInput<TDefinition, TType>> |
portArray |
Data port array to be modified
|
| UInt16 |
size |
Desired array size
|
Type Parameters
| Name |
Description |
| TDefinition |
|
| TType |
|
Exceptions
Set the size of an array of message ports.
Declaration
public void SetPortArraySize<TDefinition, TMsg>(NodeHandle<TDefinition> handle, PortArray<MessageInput<TDefinition, TMsg>> portArray, ushort size)
where TDefinition : INodeDefinition, IMsgHandler<TMsg>
Parameters
| Type |
Name |
Description |
| NodeHandle<TDefinition> |
handle |
Node on which to set the size of the array of ports
|
| PortArray<MessageInput<TDefinition, TMsg>> |
portArray |
Message port array to be modified
|
| UInt16 |
size |
Desired array size
|
Type Parameters
| Name |
Description |
| TDefinition |
|
| TMsg |
|
Exceptions
Update()
Updates the node set in two phases:
- A message phase (simulation) where nodes are updated and messages
are passed around
- Aligning the simulation world and the rendering world and initiate
the rendering.
RenderExecutionModel
Declaration
Exceptions
ValueExists<T>(GraphValue<T>)
Tests whether the supplied graph value exists.
Declaration
public bool ValueExists<T>(GraphValue<T> graphValue)
Parameters
Returns
Type Parameters