immersive-web / hit-test

Home Page:https://immersive-web.github.io/hit-test/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

session.requestHitTestSource not support 'unbounded' and 'bounded-floor'?

DLGL99GL opened this issue · comments

session.requestReferenceSpace( 'unbounded' ).then( function ( referenceSpace ) {
	session.requestHitTestSource( { space: referenceSpace } ).then( function ( source ) {
		hitTestSource = source;
	} );

} );

i tested 'viewer'、‘local’,it worked;but when seted 'unbounded' or 'bounded-floor', the length of 'frame.getHitTestResults( hitTestSource )' is 0;
Is session.requestHitTestSource not support 'unbounded' and 'bounded-floor'?

This is not the place to ask for help with the API or about bugs in particular implementations.