@galacean/engine-xr 2.0.0-alpha.49 → 2.0.0-alpha.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/browser.js CHANGED
@@ -212,7 +212,7 @@
212
212
  {
213
213
  key: "fixedFoveation",
214
214
  get: /**
215
- * The fixed foveation of the camera.
215
+ * Fixed foveation, or `undefined` if unsupported by the active session.
216
216
  */ function get() {
217
217
  var _this__xrManager_sessionManager = this._xrManager.sessionManager, platformSession = _this__xrManager_sessionManager._platformSession;
218
218
  if (platformSession) {
@@ -384,7 +384,7 @@
384
384
  controller.down = controller.up = 0;
385
385
  }
386
386
  // Handle events and update tracked devices
387
- var _this__xrManager_sessionManager = this._xrManager.sessionManager, platformSession = _this__xrManager_sessionManager._platformSession;
387
+ var platformSession = this._xrManager.sessionManager._platformSession;
388
388
  var platformEvents = platformSession.events;
389
389
  for(var i1 = 0, n1 = platformEvents.length; i1 < n1; i1++){
390
390
  this._handleEvent(platformEvents[i1]);
@@ -686,7 +686,7 @@
686
686
  {
687
687
  key: "supportedFrameRate",
688
688
  get: /**
689
- * Return a list of supported frame rates.(only available in-session)
689
+ * Supported frame rates, or `undefined` if unsupported. Only available in-session.
690
690
  */ function get() {
691
691
  return this._platformSession.supportedFrameRates;
692
692
  }
@@ -694,7 +694,7 @@
694
694
  {
695
695
  key: "frameRate",
696
696
  get: /**
697
- * Return the current frame rate as reported by the device.
697
+ * Current frame rate, or `undefined` if unsupported. Only available in-session.
698
698
  */ function get() {
699
699
  return this._platformSession.frameRate;
700
700
  }
@@ -986,7 +986,7 @@
986
986
  }
987
987
  var _proto = XRTrackableFeature.prototype;
988
988
  _proto._onUpdate = function _onUpdate() {
989
- var _this__xrManager_sessionManager = this._xrManager.sessionManager, platformSession = _this__xrManager_sessionManager._platformSession;
989
+ var platformSession = this._xrManager.sessionManager._platformSession;
990
990
  var platformFrame = platformSession.frame;
991
991
  var _this = this, platformFeature = _this._platformFeature, requestTrackings = _this._requestTrackings, statusSnapshot = _this._statusSnapshot, allTracked = _this._tracked, added = _this._added, updated = _this._updated, removed = _this._removed;
992
992
  if (!platformFrame || !requestTrackings.length) {