public SWDataCode(string _name, CodeParamType _outType) { name = _name; description = ""; output = new CodeParam("o", _outType); inputs = new List <CodeParam> (); code = ""; }
public CodeParam Clone() { CodeParam c = new CodeParam(name, type); c.name = name; c.type = type; c.v = v; c.min = min; c.max = max; return(c); }
public void AddParam() { CodeParam p = new CodeParam(NextParam(), CodeParamType.Color); inputs.Add(p); }