ARKitFaceAnchor class
An anchor representing a face and its geometry.
- Inheritance
-
- Object
- ARKitAnchor
- ARKitFaceAnchor
- Annotations
-
- @JsonSerializable()
Constructors
Properties
-
blendShapes
→ Map<
String, double> -
A dictionary of blend shape coefficients for each blend shape location.
Blend shapes coefficients define the amount of displacement of a neutral shape at a specific location on the face.
final
- geometry → ARKitFace
-
The face geometry updated based on the computed blend shapes.
final
-
geometryVertices
→ List<
Vector3> -
An array of vertex positions for each point in the face mesh.
final
- 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
- leftEyeTransform → Matrix4
-
The left eye’s rotation and translation relative to the anchor’s origin.
final
- nodeName → String?
-
Represents the name of the node anchor attached to.
finalinherited
- rightEyeTransform → Matrix4
-
The right eye’s rotation and translation relative to the anchor’s origin.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- 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) → ARKitFaceAnchor