summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/modules/xr/xr_hit_test_options_init.idl
blob: 0973892b59822b055306879cb16b7b1ea1ed98dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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.

[RuntimeEnabled=WebXRHitTestEntityTypes]
enum XRHitTestTrackableType {
  "point",
  "plane"
};

dictionary XRHitTestOptionsInit {
  required XRSpace space;
  [RuntimeEnabled=WebXRHitTestEntityTypes] FrozenArray<XRHitTestTrackableType> entityTypes;
  XRRay offsetRay;
};