NodeInstancePortReference
Classes
- NodeInstancePortReference
Reference for a port of a node instance
Members
- id_counter :
number
NodeInstancePortReference
Reference for a port of a node instance
Kind: global class
- NodeInstancePortReference
- instance
- .id :
number
- .instance :
NodeInstance
- .port :
Port
- .connections :
Array.<Connection>
- .outConnections ⇒
Array.<Connection>
- .inConnections ⇒
Array.<Connection>
- .isNodeInstancePortReference :
boolean
- .hasConnections() ⇒
boolean
- .isConnectedToNode(node_instance_id) ⇒
boolean
- .set(instance, port)
- .hash() ⇒
number
- .equals(other) ⇒
boolean
- .id :
- static
- instance
nodeInstancePortReference.id : number
Kind: instance property of NodeInstancePortReference
Read only: true
nodeInstancePortReference.instance : NodeInstance
Kind: instance property of NodeInstancePortReference
Read only: true
nodeInstancePortReference.port : Port
Kind: instance property of NodeInstancePortReference
Read only: true
nodeInstancePortReference.connections : Array.<Connection>
Attached connections NOTE: Maintained by NodeGraph, do not modify
Kind: instance property of NodeInstancePortReference
Read only: true
nodeInstancePortReference.outConnections ⇒ Array.<Connection>
Outgoing connections
Kind: instance property of NodeInstancePortReference
nodeInstancePortReference.inConnections ⇒ Array.<Connection>
Incoming connections
Kind: instance property of NodeInstancePortReference
nodeInstancePortReference.isNodeInstancePortReference : boolean
Kind: instance property of NodeInstancePortReference
Read only: true
nodeInstancePortReference.hasConnections() ⇒ boolean
Kind: instance method of NodeInstancePortReference
nodeInstancePortReference.isConnectedToNode(node_instance_id) ⇒ boolean
Checks if a connection exists from this endpoint to a specific node instance Also returns true when parameter refers to instance that the port is attached to
Kind: instance method of NodeInstancePortReference
Param | Type |
---|---|
node_instance_id | number |
nodeInstancePortReference.set(instance, port)
Kind: instance method of NodeInstancePortReference
Param | Type |
---|---|
instance | NodeInstance |
port | Port |
nodeInstancePortReference.hash() ⇒ number
Kind: instance method of NodeInstancePortReference
nodeInstancePortReference.equals(other) ⇒ boolean
Kind: instance method of NodeInstancePortReference
Param | Type |
---|---|
other | NodeInstancePortReference |
NodeInstancePortReference.from(instance, port) ⇒ NodeInstancePortReference
Kind: static method of NodeInstancePortReference
Param | Type |
---|---|
instance | NodeInstance |
port | Port |
id_counter : number
Kind: global variable