connectedInterface property

VSOutputData? get connectedInterface

The currently connected interface of this input

Returns null if no interface is connected

Implementation

VSOutputData? get connectedInterface => _connectedInterface;
set connectedInterface (VSOutputData? data)

Implementation

set connectedInterface(VSOutputData? data) {
  if (data == null || acceptInput(data)) {
    _connectedInterface = data;
    nodeData?.onUpdatedConnection?.call(this);
  }
}