IsConnectable

IsConnectable(GraphEditor, NodeEditor, NodeEditor, PortConnector, PortType)

public bool IsConnectable(GraphEditor graphEditor, NodeEditor ownerNodeEditor, NodeEditor targetNodeEditor, PortConnector portConnector, PortType portType) ;

説明

接続可能か判定する。

パラメーター

パラメーター名 説明
graphEditor グラフエディタ
ownerNodeEditor 所有者のノードエディタ
targetNodeEditor 対象のノードエディタ
portConnector 対象のポートコネクタ
portType 接続するポートの種類

戻り値

接続できる場合はtrueを返す。そうでなければfalseを返す。