Skip to content

Conversation

@avaer
Copy link
Member

@avaer avaer commented Aug 6, 2019

For a long time Exokit relied on the parent site knowing whether to open a Reality Tab in a 2D or 3D context, but this was one of the most common user mistakes in our UIs.

This PR attempts to implement an "XR autodetect" on the first Window tick of a reality tab, emitting an xrMode event on the HTMLIframeElement. With this, Exokit browser frontends can rely on a more automatic instantiation of reality tabs by first attempting the common 3D case and -- failing that -- falling back to the 2D browser plane implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants