code: function () {
      var str = '{';
      for (var i in this.schema){
        if (i == 'preset') continue;
        str += i + ': ';
        var type = this.schema[i].type;
        if (type == 'vec3') {
          str += '{ x: ' + this.data[i].x + ', y: ' + this.data[i].y + ', z: ' + this.data[i].z + '}';
        }
        else if (type == 'string' || type == 'color') {
          str += '"' + this.data[i] + '"';
        }
        else {
          str += this.data[i];
        }
        str += ', ';
      }
      str += '}';
      console.log(str);
    }
docs: logs current parameters to console, for saving to a preset