code: function () {
      var el = this.el;
      var savedPose = this.savedPose;
  
      if (!this.hasSavedPose) { return; }
  
      // Reset camera orientation.
      el.object3D.position.copy(savedPose.position);
      el.object3D.rotation.copy(savedPose.rotation);
      this.hasSavedPose = false;
    }
docs: Reset camera pose to before entering VR.