ARKitImageAnchor class

An anchor representing an image in the world.

Inheritance
Annotations
  • @JsonSerializable()

Constructors

ARKitImageAnchor(String? referenceImageName, Vector2 referenceImagePhysicalSize, bool isTracked, String? nodeName, String identifier, Matrix4 transform)
const

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
referenceImageName String?
Name of the detected image (might be null).
final
referenceImagePhysicalSize → Vector2
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) ARKitImageAnchor