summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/modules/xr/xr_ray.idl
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/modules/xr/xr_ray.idl')
-rw-r--r--chromium/third_party/blink/renderer/modules/xr/xr_ray.idl10
1 files changed, 10 insertions, 0 deletions
diff --git a/chromium/third_party/blink/renderer/modules/xr/xr_ray.idl b/chromium/third_party/blink/renderer/modules/xr/xr_ray.idl
new file mode 100644
index 00000000000..b9ca32e318e
--- /dev/null
+++ b/chromium/third_party/blink/renderer/modules/xr/xr_ray.idl
@@ -0,0 +1,10 @@
+// Copyright 2018 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/#xrray-interface
+[SecureContext, OriginTrialEnabled=WebXR] interface XRRay {
+ readonly attribute DOMPointReadOnly origin;
+ readonly attribute DOMPointReadOnly direction;
+ readonly attribute Float32Array transformMatrix;
+}; \ No newline at end of file