Add XRRigidTransform constructor

This commit is contained in:
Manish Goregaokar 2019-03-14 13:01:50 -07:00
parent bc03d32142
commit c775820a79
3 changed files with 39 additions and 7 deletions

View file

@ -4,8 +4,8 @@
// https://immersive-web.github.io/webxr/#xrrigidtransform-interface
[SecureContext, Exposed=Window, Pref="dom.webxr.enabled"]
// [Constructor(optional DOMPointInit position, optional DOMPointInit orientation)]
[SecureContext, Exposed=Window, Pref="dom.webxr.enabled",
Constructor(optional DOMPointInit position, optional DOMPointInit orientation)]
interface XRRigidTransform {
// readonly attribute DOMPointReadOnly position;
// readonly attribute DOMPointReadOnly orientation;