Skip to content

Commit

Permalink
Remove unstable entityTypes from code example
Browse files Browse the repository at this point in the history
  • Loading branch information
Elchi3 committed Aug 19, 2021
1 parent 3741c76 commit 0db485d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions files/en-us/web/api/xrsession/requesthittestsource/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,9 @@ let hitTestSource = null;

xrSession.requestHitTestSource({
space : viewerSpace, // obtained from xrSession.requestReferenceSpace("viewer");
entityTypes: ["point"],
offsetRay : new XRRay({y: 0.5})
}).then((pointHitTestSource) => {
hitTestSource = pointHitTestSource;
}).then((viewerHitTestSource) => {
hitTestSource = viewerHitTestSource;
});

// frame loop
Expand Down

0 comments on commit 0db485d

Please sign in to comment.