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
To expand on this: if a polyfill device wants to support both immersive sessions and inline sessions, it needs to know what kind of session is calling the device methods. Since, for example, the inline session may want / need to return different values from the immersive sessions. Some of the above only seem to be called during a rAF callback, so a device can save the current session of the frame in onFrameStart. But others (e.g., getInputSources) can be called anywhere.
By not passing sessionID to all methods in the XRDevice class, it is impossible to support different capabilities and values on different sessions.
For example, if there is an inline session and an immersive session active, they share values of the various spaces.
Methods include: getProjectionMatrix, getBasePoseMatrix, getBaseViewMatrix, getInputSources, getInputPose, requestFrameOfReferenceTransform, requestStageBounds
The text was updated successfully, but these errors were encountered: