Function disconnect

  • Disconnect a node from all nodes or optionally include a destination node and input/output channels.

    Parameters

    • srcNode: OutputNode

      The source node

    • Optional 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