Closed DLGL99GL closed 2 years ago
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.
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'?