using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SharpDX;

namespace Framefield.Core.ID64d67fdd_8c08_4914_9518_0776b639e44b
{
    public class Class_SumNValues : OperatorPart.Function
    {
        public override OperatorPartContext Eval(OperatorPartContext context, List<OperatorPart> inputs, int outputIdx) {
            var Values = (float) inputs[0].Eval(context).Value;
            //!!automatic generated code ends here
            float value = 0.0f;
            foreach (var input in inputs[0].Connections) {
                value += input.Eval(context).Value;
            }
            context.Value = value;
            //!!automatic generated code starts here
            return context;
        }
    }
}

