private void HandleOutputSockets(INodeOutputHandler outputHandler) { AnchorElement anchor = CreateAnchor(new Vector2(1, 0.5f)); foreach (IDirectionalOutputSocket socket in outputHandler.OutputSockets) { anchor.AddSocket(socket); } }
private void HandleInputSockets(INodeInputHandler inputHandler) { AnchorElement anchor = CreateAnchor(new Vector2(0, 0.5f)); foreach (IDirectionalInputSocket socket in inputHandler.InputSockets) { anchor.AddSocket(socket); } }