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
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: