Class XRTransientInputHitTestResult
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
NOTE
ExperimentalXRTransientInputHitTestResult interface of the WebXR Device API contains an array of results of a hit test for transient input, grouped by input source.
[Value("XRTransientInputHitTestResult")]
public class XRTransientInputHitTestResult
- Inheritance
-
XRTransientInputHitTestResult
- Inherited Members
Remarks
You can get an array of XRHitTestResult objects for a frame by calling GetHitTestResultsForTransientInput(XRTransientInputHitTestSource).
Constructors
XRTransientInputHitTestResult()
public XRTransientInputHitTestResult()
Properties
InputSource
NOTE
ExperimentalinputSource property of the XRTransientInputHitTestResult interface represents an XRInputSource object that was used to compute the Results array.
[Value("inputSource")]
public XRInputSource InputSource { get; }
Property Value
- XRInputSource
An XRInputSource object.
Remarks
Results
NOTE
Experimentalresults property of the XRTransientInputHitTestResult interface represents an array of XRHitTestResult objects containing the hit test results for the input source, ordered by the distance along the ray used to perform the hit test, with the closest result at position 0.
[Value("results")]
public XRHitTestResult[] Results { get; }
Property Value
- XRHitTestResult[]
An array of XRHitTestResult objects.