RealityKit for macOS example

I would like to code some RealityViews to run on my Mac first (and then incorporate them in a visionOS project) so that my code/test loop is faster, but I have not been able to find a simple example that supports Mac.

Is it possible to have volumes on a Mac? Is there support for using a game controller to move around the RealityView, like in the visionOS simulator?

I haven't yet pulled down the betas to explore the new RealityView for macOS and iOS, but previously created https://github.com/heckj/CameraControlARView for pretty much this kind of purpose. The views have been exposed on macOS to let you render things, but YOU have to set up and control the camera.

Even my little library doesn't have the game controller support built into it, but if you dig through the code a smidge, you'll see where it could be added - so I fully expect that the newer RealityView setup would allow the same. You'll need to provide the game controller inputs to control the camera positioning, rotation, etc.

(https://github.com/heckj/CameraControlARView was knocked together initially to render RealityKit scenes on macOS so that I could rotate and take image snapshots of the rotation to build into simple animated gifs, in order to add that into some online documentation)

RealityKit for macOS example
 
 
Q