HitTest
class HitTest
Manager for WebXR hit-test feature
Properties
Methods
Properties
ready
Return whether hit-test is ready
Methods
isAvailable
Return whether hit-test feature is available
destroy
Destroy instance
init
Initialize hit-test feature
| PARAMETER | TYPE | OPTIONAL | DEFAULT | DESCRIPTION | 
|---|---|---|---|---|
| session | XRSession | XRSession instance | 
getFeatures
XRSessionInit object for hit-test feature
getResults
Get hit-test results
| PARAMETER | TYPE | OPTIONAL | DEFAULT | DESCRIPTION | 
|---|---|---|---|---|
| frame | XRFrame | ✔️ | XRFrame instance |