immersive-web / webxr-polyfill

Use the WebXR Device API today, providing fallbacks to native WebVR 1.1 and Cardboard
Apache License 2.0
381 stars 84 forks source link

XRFrame.getPose(): Supports more types #92

Closed takahirox closed 4 years ago

takahirox commented 4 years ago

From the discussion on Twitter

Currently XRFrame.getPose() returns null if destination space type isn't viewer, target-ray, or grip. The method should supports other types, too.

https://github.com/immersive-web/webxr-polyfill/blob/master/src/api/XRFrame.js#L65-L81

takahirox commented 4 years ago

Closing because it looks supporting all the types now.