XRSession : EventTarget
Provides state for a current Augmented Reality (AR) or Virtual Reality (VR) session. Created through
navigator.xr.requestSession().Instance Methods
Schedules callback to be called before the next time the browser renders a frame to the screen. The time parameter to callback is the number of milliseconds since the page loaded. Returns a unique handle that can be passed to cancelAnimationFrame() to stop callback from being called.
Example:
RunResults:
Copyright © JavaScripture Contributors