WebXR: request common reference spaces as features
WebXR's requestReferenceSpace only works if the corresponding feature was requested at session creation time. For simplicity, just ask for the interesting ones as optional features, but be aware that the requestReferenceSpace call will fail if it turns out to be unavailable. ('local' is always available for immersive sessions and doesn't need to be requested separately.)
Showing
想要评论请 注册 或 登录