Method Connect
Connect(int, MatrixEditMode)
Connects this output with the specified input.
public void Connect(int inputIndex, MatrixEditMode editMode = MatrixEditMode.Replace)
Parameters
inputIndexintThe zero-based index of the input to connect with this output.
editModeMatrixEditModeIndicates whether the current connected inputs should be disconnected from this output or not.
Exceptions
- ArgumentOutOfRangeException
inputIndexis not in the range [0, MaxInputs -1]. -or- When tables are supported, there can be maximum one input connected to an output.- InvalidEnumArgumentException
editModeis not a member of MatrixEditMode.
Connect(IEnumerable<int>, MatrixEditMode)
Connects this output with the specified inputs.
public void Connect(IEnumerable<int> inputIndexes, MatrixEditMode editMode = MatrixEditMode.Replace)
Parameters
inputIndexesIEnumerable<int>The zero-based indexes of the inputs to connect with this output.
editModeMatrixEditModeIndicates whether the current connected inputs should be disconnected from this output or not.
Exceptions
- ArgumentNullException
inputIndexesis null.- ArgumentOutOfRangeException
At least one of the indexes provided in
inputIndexesis not in the range [0, MaxInputs -1]. -or- When tables are supported, there can be maximum one input connected to an output.- InvalidEnumArgumentException
editModeis not a member of MatrixEditMode.