-
-
Notifications
You must be signed in to change notification settings - Fork 35.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Types for WebXR interfaces #20041
Comments
Can you describe how it would be useful? |
The documentation related to WebXR is pretty limited, so it's hard for a beginner to get around how to use the API. In the hit-test example for AR, we are using the functions If the types are mentioned in the declaration file, it gives a better way to understand what we are working with(wrt WebXR API) and what to google about further. Especially when using IDE autocomplete to explore the API. |
oh right. would you like to make a PR with the changes you'd like to see in there? |
Sure, will do. |
Thanks! |
Created a PR for this #20150 |
Description of the problem
The WebXR API with typescript doesn't have an open types declaration file.
Some repositories including model-viewer and babylon.js have created their own, but it's not present in three.
It would really be helpful if it can be added.
Links:
Three.js version
The text was updated successfully, but these errors were encountered: