mirror of
https://github.com/servo/servo.git
synced 2025-06-12 18:34:39 +00:00
* Implement XRBoundedReferenceSpace Signed-off-by: Daniel Adams <msub2official@gmail.com> * Update expectations Signed-off-by: Daniel Adams <msub2official@gmail.com> * Update interfaces Signed-off-by: Daniel Adams <msub2official@gmail.com> * Add missing pref condition on IDL interface Signed-off-by: Daniel Adams <msub2official@gmail.com> --------- Signed-off-by: Daniel Adams <msub2official@gmail.com>
20 lines
607 B
Text
20 lines
607 B
Text
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
|
|
|
// https://immersive-web.github.io/webxr/#xrreferencespace-interface
|
|
|
|
enum XRReferenceSpaceType {
|
|
"viewer",
|
|
"local",
|
|
"local-floor",
|
|
"bounded-floor",
|
|
"unbounded"
|
|
};
|
|
|
|
[SecureContext, Exposed=Window, Pref="dom.webxr.enabled"]
|
|
interface XRReferenceSpace : XRSpace {
|
|
[NewObject] XRReferenceSpace getOffsetReferenceSpace(XRRigidTransform originOffset);
|
|
|
|
// attribute EventHandler onreset;
|
|
};
|