ARKitBodyAnchor class
An anchor representing a body in the world.
- Inheritance
-
- Object
- ARKitAnchor
- ARKitBodyAnchor
- Annotations
-
- @JsonSerializable()
Constructors
- ARKitBodyAnchor(ARKitSkeleton skeleton, bool isTracked, String? nodeName, String identifier, Matrix4 transform)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- identifier → String
-
Unique identifier of the anchor.
finalinherited
- isTracked → bool
-
Tracking state of the anchor
The isTracked value is used to determine the anchor transform’s validity. When the object being tracked is no longer detected in the
camera image, its anchor will return NO for isTracked.
final
- nodeName → String?
-
Represents the name of the node anchor attached to.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- skeleton → ARKitSkeleton
-
The tracked skeleton in 3D.
The default height of this skeleton, measured from lowest to highest joint in standing position, is defined to be 1.71 meters.
final
- transform → Matrix4
-
The transformation matrix that defines the anchor’s rotation, translation and scale in world coordinates.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
Map< String, dynamic> json) → ARKitBodyAnchor