XRTransientInputHitTestSource 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 handles transient input
hit test subscriptions. You can get an object by calling the
XRSession.requestHitTestSourceForTransientInput()
.
This object doesn't itself contain transient input hit test
results, but it is used to compute hit tests for each XRFrame
by calling XRFrame.getHitTestResultsForTransientInput()
, which
returns XRTransientInputHitTestResult objects.
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
- XRTransientInputHitTestSource()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
cancel(
) → void -
Available on XRTransientInputHitTestSource, provided by the PropsXRTransientInputHitTestSource extension
-
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