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

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

enum XRHitTestTrackableType {
  "point",
  "plane"
};

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