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