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

            inputs.Add(p);
        }