chromium/third_party/blink/renderer/modules/xr/xr_rigid_transform.idl

// Copyright 2019 The Chromium Authors
// 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,
    RuntimeEnabled=WebXR
] interface XRRigidTransform {
  [RaisesException] constructor(optional DOMPointInit position = {}, optional DOMPointInit orientation = {});
  [SameObject] readonly attribute DOMPointReadOnly position;
  [SameObject] readonly attribute DOMPointReadOnly orientation;
  [SameObject] readonly attribute Float32Array matrix;
  [SameObject] readonly attribute XRRigidTransform inverse;
};