Enumeration

ARRaycastQuery.Target

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

Declaration

enum Target : Int

Topics

Targets

case estimatedPlane

A raycast target that specifies nonplanar surfaces, or planes about which ARKit can only estimate.

case existingPlaneGeometry

A raycast target that requires a plane to have a definitive size and shape.

case existingPlaneInfinite

A raycast target that specifies a detected plane, regardless of its size and shape.

See Also

Specifying the Target

var target: ARRaycastQuery.Target

A plane type that allows the raycast 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.