mirror of
https://github.com/servo/servo.git
synced 2025-08-02 12:10:29 +01:00
* Update XRPose interface with missing members Signed-off-by: Daniel Adams <msub2official@gmail.com> * ./mach fmt Signed-off-by: Daniel Adams <msub2official@gmail.com> --------- Signed-off-by: Daniel Adams <msub2official@gmail.com>
14 lines
594 B
Text
14 lines
594 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/#xrpose-interface
|
|
|
|
[SecureContext, Exposed=Window, Pref="dom.webxr.enabled"]
|
|
interface XRPose {
|
|
[SameObject] readonly attribute XRRigidTransform transform;
|
|
[SameObject] readonly attribute DOMPointReadOnly? linearVelocity;
|
|
[SameObject] readonly attribute DOMPointReadOnly? angularVelocity;
|
|
|
|
readonly attribute boolean emulatedPosition;
|
|
};
|