code: function (data) {
      var key;
      var material = this.material;
      getMaterialData(data, this.materialData);
      this.rendererSystem.applyColorCorrection(this.materialData.color);
      this.rendererSystem.applyColorCorrection(this.materialData.emissive);
      for (key in this.materialData) {
        material[key] = this.materialData[key];
      }
    }
docs: Updating existing material.
  
  @param {object} data - Material component data.
  @returns {object} Material.