Assets/Plugins/Unity.DSPGraph/Runtime/DSPCommandBlock.cs
/// <summary>
/// Adds an outlet port to the node
/// </summary>
/// <remarks>
/// Ports are where signal flow comes into and out of the DSP kernel
/// </remarks>
/// <param name="node">DSPNode specifying the node on which the outlet is added</param>
/// <param name="channelCount">Int specifying the number of channels in the port</param>
/// <param name="format">SoundFormat specifying the speaker support</param>
Adds an outlet port to the node
Adds an outlet port to the node
public void AddOutletPort(DSPNode node, int channelCount, SoundFormat format)
        {
            AssertSameGraphAsNode(node);
            QueueCommand(new AddOutletPortCommand
            {
                m_Type = DSPCommandType.AddOutletPort,
                m_Graph = m_Graph,
                m_Handle = m_Handle,
                m_Node = node.Handle,
                m_ChannelCount = channelCount,
                m_Format = (int)format,
            });
        }
public void AddOutletPort ( DSPNode node , int channelCount , SoundFormat format ) { AssertSameGraphAsNode ( node ) ; QueueCommand ( new AddOutletPortCommand { m_Type = DSPCommandType . AddOutletPort , m_Graph = m_Graph , m_Handle = m_Handle , m_Node = node . Handle , m_ChannelCount = channelCount , m_Format = ( int ) format , } ) ; }
Adds an outlet port to the node
Adds an outlet port to the node
node
DSPNode
DSPNode specifying the node on which the outlet is added
DSPNode specifying the node on which the outlet is added
channelCount
int
Int specifying the number of channels in the port
Int specifying the number of channels in the port
format
SoundFormat
SoundFormat specifying the speaker support
SoundFormat specifying the speaker support
remarks
Ports are where signal flow comes into and out of the DSP kernel
Ports are where signal flow comes into and out of the DSP kernel