How to create a VisionPro project with a Volume
In XCode, create a new VisionOS project and set the initial scene to "Volume."
Apple provides an out of the box VisionOS project that provides a scene with a volume.
In the event that you are trying to transform an existing project into one that starts with a volume, the key elements are found in the info.plist and the way you code the initial scene.
Samples are found in the repository linked below on the 101/volume-starter branch.
Sample info.plist demonstrating that the "Preferred Default Scene Session Role" should be set to "Volumetric Application Session Role."
Sample App and ContentView. Code provided by Apple.
Looking to learn more about VisionOS, Spatial Computing, Design and Technology?
Search our blog to learn more about visionOS, spatial computing, design and technology.