XRTransientInputHitTestResult class
Secure context: This feature is available only in secure
contexts (HTTPS), in some or all supporting browsers.
The interface of the WebXR Device API contains an array of
results of a hit test for transient input, grouped by input
source.
You can get an array of XRHitTestResult objects for a frame by
calling XRFrame.getHitTestResultsForTransientInput()
.
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
- XRTransientInputHitTestResult()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- inputSource → XRInputSource
-
Available on XRTransientInputHitTestResult, provided by the PropsXRTransientInputHitTestResult extension
no setter -
results
→ Iterable<
XRHitTestResult> -
Available on XRTransientInputHitTestResult, provided by the PropsXRTransientInputHitTestResult extension
no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited