Instance Property

localTransform

The position and orientation of the hit test result relative to the nearest anchor or feature point.

Declaration

var localTransform: simd_float4x4 { get }

Discussion

This transform matrix indicates the intersection point between the detected surface and the ray that created the hit test result. A hit test projects a 2D point in the image or view coordinate system along a ray into the 3D world space and reports results where that line intersects detected surfaces.

See Also

Examining Result Geometry

var distance: CGFloat

The distance, in meters, from the camera to the detected surface.

var worldTransform: simd_float4x4

The position and orientation of the hit test result relative to the world coordinate system.