ARImageAnchor¶
Inherits: RefCounted < Object
An anchor created when a reference image is detected in the scene.
Description¶
Represents a detected reference image in the real world. Image anchors are produced when the session is configured with a reference image group. The anchor exposes the image name, physical size, tracking state, and estimated scale factor.
Properties¶
|
||
|
||
|
||
|
||
|
||
|
Property Descriptions¶
float estimated_scale_factor = 1.0 🔗
ARKit’s current estimate of the detected image’s scale relative to its reference size.
A unique identifier for this image anchor.
Whether the image is currently tracked with reliable pose updates.
String reference_image_name = "" 🔗
The name of the detected reference image from the asset catalog.
Vector2 reference_image_physical_size = Vector2(0, 0) 🔗
The physical size of the reference image in meters.
Transform3D transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0) 🔗
void set_transform(value: Transform3D)
Transform3D get_transform()
The image anchor transform in world space.