Instance Method

stopTracking

Stops repeating the ray-cast query.

Declaration

- (void)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 updateQuery: fails.