code: function () {
      var el = this.el;
  
      this.savedPose.position.copy(el.object3D.position);
      this.savedPose.rotation.copy(el.object3D.rotation);
      this.hasSavedPose = true;
    }
docs: Save camera pose before entering VR to restore later if exiting.