Instance Property


The type of surface that the ray intersects.


var target: ARRaycastQuery.Target { get }

See Also

Identifying Results

var worldTransform: simd_float4x4

The position, rotation, and scale, of the ray's intersection with the target.

var anchor: ARAnchor?

The anchor for the plane that the ray intersected.

enum ARRaycastQuery.Target

The types of surface you allow a raycast to intersect with.

var targetAlignment: ARRaycastQuery.TargetAlignment

The alignment of the plane that the ray intersected.

enum ARRaycastQuery.TargetAlignment

A specification that indicates a target's alignment with respect to gravity.