mirror of
https://github.com/servo/servo
synced 2026-05-15 11:26:50 +02:00
21 lines
702 B
Plaintext
21 lines
702 B
Plaintext
/* 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/#xrstationaryreferencespace-interface
|
|
|
|
enum XRStationaryReferenceSpaceSubtype {
|
|
"eye-level",
|
|
"floor-level",
|
|
"position-disabled"
|
|
};
|
|
|
|
dictionary XRStationaryReferenceSpaceOptions : XRReferenceSpaceOptions {
|
|
required XRStationaryReferenceSpaceSubtype subtype;
|
|
};
|
|
|
|
[SecureContext, Exposed=Window, Pref="dom.webxr.enabled"]
|
|
interface XRStationaryReferenceSpace: XRReferenceSpace {
|
|
// readonly attribute XRStationaryReferenceSpaceSubtype subtype;
|
|
};
|