Instance Method

stopTracking()

Stops repeating the ray-cast query.

Declaration

func stopTracking()

Discussion

A tracked ray-cast is continuously updated until you stop it explicitly by calling stopTracking(). A ray-cast will automatically stop when:

  • ARKit calls sessionWasInterrupted(_:).

  • You change the session's configuration.

  • You deallocate the ARTrackedRaycast.

  • A query you supply using update(_:) fails.