Augmented Rality Kit - sceneView

PHOTO EMBED

Mon Nov 22 2021 09:16:00 GMT+0000 (UTC)

Saved by @GoodRequest. #xml

func setupSceneView() {
        let sceneView = ARSCNView()
        sceneView.delegate = self

        let config = ARWorldTrackingConfiguration()
        config.planeDetection = .horizontal

        sceneView.session.run(config)

        let scene = SCNScene(named: "chair.scn")
        sceneView.scene = scene
    }
content_copyCOPY