blob: 40dd716a48eded62149c63bd08dd96583712d261 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://immersive-web.github.io/webxr/#xrrigidtransform-interface
[
SecureContext,
Exposed=Window,
OriginTrialEnabled=WebXR,
Constructor(optional DOMPointInit position, optional DOMPointInit orientation)
] interface XRRigidTransform {
readonly attribute DOMPointReadOnly position;
readonly attribute DOMPointReadOnly orientation;
readonly attribute Float32Array matrix;
};
|