ReadonlymeasuredThe measured size of the detected image in the real world.
May differ from widthInMeters if the physical marker doesn't match the configured size.
ReadonlystateCurrent tracking state of the image:
tracked - Image is currently being tracked by the systememulated - Tracking is being emulated (less accurate)The ImageBitmap used for tracking
The WebXRImageTrackingModel configuration for this tracked image.
Use this to access the assigned 3D object, marker settings, and other image tracking configuration.
Available on each WebXRTrackedImage received from the image-tracking CustomEvent (event.detail).
The 3D object or prefab assigned to this tracked image marker in the WebXRImageTrackingModel.
Use this to access the object associated with an AR image tracking marker from the image-tracking CustomEvent.
Shorthand for this.model.object.
URL of the tracked marker image
Physical width of the marker in meters
Apply the tracked image's position and rotation to a 3D object. Optionally applies smoothing to reduce jitter.
The 3D object to update
Interpolation factor (0-1) for smoothing. If undefined or >= 1, no smoothing is applied. When smoothing is enabled, larger position/rotation changes will automatically reduce the smoothing to prevent lag.
Copy the current world rotation of the tracked image to a Quaternion.
The quaternion to store the rotation in
The input quaternion with the rotation copied to it
Represents a tracked image detected during a WebXR session. Contains position, rotation, and tracking state information for a detected marker image.
Properties: