XRAnchor class
Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers. The interface creates anchors which keep track of the pose that is fixed relative to the real world. With anchors, you can specify poses in the world that need to be updated to correctly reflect the evolving understanding of the world, such that the poses remain aligned with the same place in the physical world. That helps to build an illusion that the placed objects are really present in the user’s environment.
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
- XRAnchor()
-
factory
Properties
- anchorSpace → XRSpace
-
Available on XRAnchor, provided by the PropsXRAnchor extension
no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
delete(
) → void -
Available on XRAnchor, provided by the PropsXRAnchor 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