trackingImages
A set of images that ARKit searches for and tracks in the user’s environment.
Declaration
var trackingImages: Set<ARReferenceImage> { get set }Discussion
Add members to this set for each image that ARKit searches for in the user’s environment. When ARKit observes a matching image, the framework creates an ARImageAnchor object and adds it to the session. If you set maximumNumberOfTrackedImages to a value greater than 1, ARKit tracks multiple images as the session progresses, up to a maximum of four.
To define the reference images that this property contains, create an asset catalog in Xcode or create ARReferenceImage objects programmatically. For an example, see Tracking and altering images.