Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
 public override IVLPin CreatePin(IVLNode node, ParameterCollection parameters) => EffectPins.CreatePin(parameters, Key, Count, IsPermutationKey);
Exemplo n.º 3
0
 public override IVLPin CreatePin(IVLNode node, ParameterCollection parameters) => new Pin <T>(Name, DefaultValue);
Exemplo n.º 4
0
 public abstract IVLPin CreatePin(IVLNode node, ParameterCollection parameters);
Exemplo n.º 5
0
 public IVLPin[] CreateNodeInputs(IVLNode node, ParameterCollection parameters) => Inputs.Select(p => p.CreatePin(node, parameters)).ToArray();