code: function (enabled) {
      var renderer = this.sceneEl.renderer;
      this.shadowMapEnabled = this.data.enabled && enabled;
      if (renderer) {
        renderer.shadowMap.enabled = this.shadowMapEnabled;
      }
    }
docs: Enables/disables the renderer shadow map.
  @param {boolean} enabled