Create<TEdge>(Orientation, Direction, Capacity, Type)
Factory method for creating a port.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Experimental.GraphView
- Assembly: UnityEditor
Create<T>(Orientation, Direction, Capacity, Type)
public static Port Create<TEdge>(Orientation orientation, Direction direction, Port.Capacity capacity, Type type) where TEdge : Edge, new()
Parameters
Orientation.
Direction.
Multi vs. Single.
Port data type.
Returns
Type | Description |
|---|---|
| Port | The new port. |