DVAnchor class final

What a node is pinned to.

Constructors

DVAnchor.hand(DVHand hand)
A tracked hand.
const
DVAnchor.image(String marker)
A tracked image, by the marker's name.
const
DVAnchor.plane(DVPlane plane)
The first detected plane of plane orientation.
const
DVAnchor.world({required String id})
A place in the world, kept across launches under id.
const

Properties

hand → DVHand?
final
hashCode → int
The hash code for this object.
no setteroverride
id → String?
final
marker → String?
final
plane → DVPlane?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → DVAnchorType
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Properties

namePattern → RegExp
final

Static Methods

fromJson(Object? json, String path) → DVAnchor