summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/modules/xr/xr_light_probe.idl
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/modules/xr/xr_light_probe.idl')
-rw-r--r--chromium/third_party/blink/renderer/modules/xr/xr_light_probe.idl15
1 files changed, 15 insertions, 0 deletions
diff --git a/chromium/third_party/blink/renderer/modules/xr/xr_light_probe.idl b/chromium/third_party/blink/renderer/modules/xr/xr_light_probe.idl
new file mode 100644
index 00000000000..691c4c667d2
--- /dev/null
+++ b/chromium/third_party/blink/renderer/modules/xr/xr_light_probe.idl
@@ -0,0 +1,15 @@
+// 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.
+
+[
+ SecureContext,
+ Exposed=Window,
+ RuntimeEnabled=WebXRIncubations
+]
+interface XRLightProbe {
+ readonly attribute XRSphericalHarmonics sphericalHarmonics;
+ readonly attribute DOMPointReadOnly mainLightDirection;
+ readonly attribute DOMPointReadOnly mainLightIntensity;
+};
+