Instance Property

targetAlignment

The alignment of the plane that the ray intersected.

Declaration

var targetAlignment: ARRaycastQuery.TargetAlignment { 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.

var target: ARRaycastQuery.Target

The type of plane that the ray intersected.

enum ARRaycastQuery.Target

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

enum ARRaycastQuery.TargetAlignment

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