December 2019
Intermediate to advanced
388 pages
8h 11m
English
Now that we have imported the model into our project, let's add it to our scene using code, as follows:


Call it Portal.swift and click Create. This will be the class where we will create our full portal, including the 3D model we imported previously.
Delete the code and add the ARKit library:
import ARKit
class Portal: ...