public IVLPin[] CreateNodeOutputs(IVLNode node, ParameterCollection parameters) { var result = new IVLPin[Outputs.Length]; for (int i = 0; i < Outputs.Length; i++) { result[i] = Outputs[i].CreatePin(node, parameters); if (i == 0) { result[i].Value = node; // Instance output } } return(result); }
public override IVLPin CreatePin(IVLNode node, ParameterCollection parameters) => EffectPins.CreatePin(parameters, Key, Count, IsPermutationKey);
public override IVLPin CreatePin(IVLNode node, ParameterCollection parameters) => new Pin <T>(Name, DefaultValue);
public abstract IVLPin CreatePin(IVLNode node, ParameterCollection parameters);
public IVLPin[] CreateNodeInputs(IVLNode node, ParameterCollection parameters) => Inputs.Select(p => p.CreatePin(node, parameters)).ToArray();