mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Add XRSession::requestHitTestSource()
This commit is contained in:
parent
f1d6a89150
commit
1b07b77323
9 changed files with 131 additions and 22 deletions
|
@ -4,6 +4,17 @@
|
|||
|
||||
// https://immersive-web.github.io/hit-test/#xrhittestsource-interface
|
||||
|
||||
enum XRHitTestTrackableType {
|
||||
"point",
|
||||
"plane",
|
||||
"mesh"
|
||||
};
|
||||
|
||||
dictionary XRHitTestOptionsInit {
|
||||
required XRSpace space;
|
||||
sequence<XRHitTestTrackableType> entityTypes;
|
||||
XRRay offsetRay;
|
||||
};
|
||||
|
||||
[SecureContext, Exposed=Window]
|
||||
interface XRHitTestSource {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue