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