ARKitPlaneAnchor class
An anchor representing a planar surface in the world. Planes are defined in the X and Z direction, where Y is the surface’s normal.
- Inheritance
-
- Object
- ARKitAnchor
- ARKitPlaneAnchor
- Annotations
-
- @JsonSerializable()
Constructors
- ARKitPlaneAnchor(Vector3 center, Vector3 extent, String? nodeName, String identifier, Matrix4 transform)
-
const
Properties
- center → Vector3
-
The center of the plane in the anchor’s coordinate space.
final
- extent → Vector3
-
The extent of the plane in the anchor’s coordinate space.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- identifier → String
-
Unique identifier of the anchor.
finalinherited
- 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
- 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) → ARKitPlaneAnchor