Table of Contents

Class XRTransientInputHitTestResult

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll
NOTE
Experimental
The XRTransientInputHitTestResult 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).

-XRHitTestResult
-XRInputSource

See also on MDN

Constructors

XRTransientInputHitTestResult()

public XRTransientInputHitTestResult()

Properties

InputSource

NOTE
Experimental
The read-only inputSource 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
Experimental
The read-only results 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.

Remarks