Function connect

  • Connect two nodes together so that signal flows from the first node to the second. Optionally specify the input and output channels.

    Parameters

    • srcNode: OutputNode

      The source node

    • dstNode: InputNode

      The destination node

    • outputNumber: number = 0

      The output channel of the srcNode

    • inputNumber: number = 0

      The input channel of the dstNode

    Returns void