Class XRHitTestSource
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
NOTE
ExperimentalXRHitTestSource interface of the WebXR Device API handles hit test subscriptions. You can get an XRHitTestSource object by using the RequestHitTestSource(XRHitTestOptionsInit) method.
[Value("XRHitTestSource")]
public class XRHitTestSource
- Inheritance
-
XRHitTestSource
- Inherited Members
Remarks
This object doesn't itself contain hit test results, but it is used to compute hit tests for each XRFrame by calling GetHitTestResults(XRHitTestSource), which returns XRHitTestResult objects.
Constructors
XRHitTestSource()
public XRHitTestSource()
Methods
Cancel()
[Value("cancel")]
public GlobalObject.Undefined Cancel()