diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/modules/xr/xr_device_pose.idl')
-rw-r--r-- | chromium/third_party/blink/renderer/modules/xr/xr_device_pose.idl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/chromium/third_party/blink/renderer/modules/xr/xr_device_pose.idl b/chromium/third_party/blink/renderer/modules/xr/xr_device_pose.idl new file mode 100644 index 00000000000..abdb9c8f86a --- /dev/null +++ b/chromium/third_party/blink/renderer/modules/xr/xr_device_pose.idl @@ -0,0 +1,13 @@ +// Copyright 2017 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/spec/latest/#xrdevicepose-interface +[ + SecureContext, + OriginTrialEnabled=WebXR +] interface XRDevicePose { + readonly attribute Float32Array poseModelMatrix; + + Float32Array getViewMatrix(XRView view); +}; |