code: function (projection) {
      var isVREnabled = this.el.renderer.vr.enabled;
      var renderer = this.el.renderer;
      var params;
      // Disable VR.
      renderer.vr.enabled = false;
      params = this.setCapture(projection);
      this.renderCapture(params.camera, params.size, params.projection);
      // Trigger file download.
      this.saveCapture();
      // Restore VR.
      renderer.vr.enabled = isVREnabled;
    }
docs: Maintained for backwards compatibility.