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

// Copyright 2018 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/#xrreferencespace-interface

enum XRReferenceSpaceType {
  "bounded-floor",
  "local",
  "local-floor",
  "unbounded",
  "viewer",
};

[
    SecureContext,
    Exposed=Window,
    RuntimeEnabled=WebXR
] interface XRReferenceSpace : XRSpace {
  attribute EventHandler onreset;
  [Measure] XRReferenceSpace getOffsetReferenceSpace(XRRigidTransform originOffset);
};