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


enum Target : Int


Choosing a Target Type

case estimatedPlane

A ray-cast target that accepts planes ARKit is less confident about.

case existingPlaneGeometry

A ray-cast target that requires a plane to have a definitive size and shape.

case existingPlaneInfinite

A ray-cast target that specifies a detected plane, regardless of its size and shape.

See Also

Getting the Target

var target: ARRaycastQuery.Target

A plane type that allows the ray to terminate if it's encountered.

var targetAlignment: ARRaycastQuery.TargetAlignment

The target's alignment with respect to gravity.

enum ARRaycastQuery.TargetAlignment

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