Exemple #1
0
 public SWDataCode(string _name, CodeParamType _outType)
 {
     name        = _name;
     description = "";
     output      = new CodeParam("o", _outType);
     inputs      = new List <CodeParam> ();
     code        = "";
 }
Exemple #2
0
        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);
        }
Exemple #3
0
        public void AddParam()
        {
            CodeParam p = new CodeParam(NextParam(), CodeParamType.Color);

            inputs.Add(p);
        }