I create an Augmented Reality Project using Xcode's template.
Xcode creates a file called Experience.rcproject
.
This project contains a scene called Box
and a cube called Steel Cube
.
I add 3 more scenes to Experience.rcproject
, called alpha
, bravo
and delta
.
I run the project.
Xcode runs these two lines
// Load the "Box" scene from the "Experience" Reality File
let boxAnchor = try! Experience.loadBoxX(namedFile: "Ground")
// Add the box anchor to the scene
arView.scene.anchors.append(boxAnchor)
These lines load the Box scene from the Experience file.
Once this scene is loaded how do I switch to another scene alpha
, bravo
or delta
without having to load the whole thing?