A set of 3D objects for ARKit to attempt to detect in the user's environment.
SDK
- iOS 12.0+
Framework
- ARKit
Declaration
var detectionObjects: Set<ARReference Object> { get set }
Discussion
Use this property to choose known 3D objects for ARKit to find in the user's environment and present as ARObject
for use in your AR experience.
To create reference objects for detection, scan them in a world-tracking session and use ARWorld
to extract ARReference
instances. You can then save reference objects as files and package them in any ARKit app you create using an Xcode asset catalog.