mirror of
https://github.com/servo/servo.git
synced 2025-08-09 23:45:35 +01:00
Basic XRRigidTransform interface
This commit is contained in:
parent
73c530344c
commit
520bb23048
3 changed files with 44 additions and 0 deletions
13
components/script/dom/webidls/XRRigidTransform.webidl
Normal file
13
components/script/dom/webidls/XRRigidTransform.webidl
Normal file
|
@ -0,0 +1,13 @@
|
|||
/* 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/#xrrigidtransform-interface
|
||||
|
||||
[SecureContext, Exposed=Window]
|
||||
// [Constructor(optional DOMPointInit position, optional DOMPointInit orientation)]
|
||||
interface XRRigidTransform {
|
||||
// readonly attribute DOMPointReadOnly position;
|
||||
// readonly attribute DOMPointReadOnly orientation;
|
||||
// readonly attribute Float32Array matrix;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue