Add hit-test API to blink for AR
This change adds the capability to request a hit-test on an XRSession. The session queries the magic window provider to get any hits based on the given ray and then resolves a promise with an array of hit results. This test is added by https://crrev.com/c/1040880, which will land immediately after this one. Bug: 833633 Test: third_party/WebKit/LayoutTests/xr/ar_hittest.html Change-Id: I225297bcf052765f156790a588eafb817ed75e08 Reviewed-on: https://chromium-review.googlesource.com/1018524 Commit-Queue: Max Rebuschatis <lincolnfrog@chromium.org> Reviewed-by:Daniel Cheng <dcheng@chromium.org> Reviewed-by:
Brandon Jones <bajones@chromium.org> Reviewed-by:
David Dorwin <ddorwin@chromium.org> Reviewed-by:
Ian Vollick <vollick@chromium.org> Reviewed-by:
Bill Orr <billorr@chromium.org> Cr-Commit-Position: refs/heads/master@{#562553}
Showing
Please register or sign in to comment