Created
June 20, 2018 09:39
-
-
Save simform-solutions/bef8ca0cd81685a9f5ff676ab27d9d45 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let configuration = ARWorldTrackingConfiguration() | |
// ARReferenceObject(archiveURL :... this method used when we have ARReferenceObject Store in local Document Directory | |
configuration.detectionObjects = Set([try ARReferenceObject(archiveURL: objectURL!)]) | |
// ARReferenceObject.referenceObjects(inGroupNamed... this method used when we have ARReferenceObject Store in Assest Folder | |
configuration.detectionObjects = ARReferenceObject.referenceObjects(inGroupNamed: "", bundle: .main)! | |
sceneView.session.run(configuration) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment