MCPcopy
hub / github.com/aframevr/aframe / warnAboutHitTest

Function warnAboutHitTest

src/components/scene/ar-hit-test.js:71–74  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

69HitTest.prototype.anchorToObject3D = new Map();
70
71function warnAboutHitTest (e) {
72 console.warn(e.message);
73 console.warn('Cannot requestHitTestSource Are you missing: webxr="optionalFeatures: hit-test;" from <a-scene>?');
74}
75
76HitTest.prototype.sessionStart = function sessionStart (hitTestSourceDetails) {
77 this.session = this.renderer.xr.getSession();

Callers 1

ar-hit-test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected