ARKit 2.0 – Scanning 3D Object and generating 3D Mesh from it
The iOS 12 application now allows us to create an ARReferenceObject , and using it, can reliably recognize a position and orientation of real-world object. We can also save the finished .arobject file. But : ARReferenceObject contains only the spatial features information needed for ARKit to recognize the real-world object, and is not a displayable 3D reconstruction of that object. sceneView.session.createReferenceObject(transform: simd_float4x4, center: simd_float3, extent: simd_float3) { (ARReferenceObject?, Error?) in // code } func export(to url: URL, previewImage: UIImage?) throws { } Is