You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are some cases where the window.rAF is packed by other scopes to add functionalities to it. (e.g. some XR emulators or for cases of rendering frames selectively)
Following the WebXR PR #257
I think that similar to how the requestAnimationFrameFunctions and spiedWindow were exposed for xrSpy, it would be nice to add an option to set them from the main Spector.js script as well.
spector = new SPECTOR.Spector();
spector.addRequestAnimationFrameFunctionName("customRafName");
spector.setSpiedWindow(referenceToScope); // or spector.setSpiedScope
spector.displayUI();
The text was updated successfully, but these errors were encountered:
There are some cases where the
window.rAF
is packed by other scopes to add functionalities to it. (e.g. some XR emulators or for cases of rendering frames selectively)Following the WebXR PR #257
I think that similar to how the
requestAnimationFrameFunctions
andspiedWindow
were exposed forxrSpy
, it would be nice to add an option to set them from the mainSpector.js
script as well.The text was updated successfully, but these errors were encountered: