Setup:
- For displaying 3D elements Scenekit is used. For 2D elements Spritekit.
- SceneView() is used to display a scene.
- An SCNScene and an SCNNode for the camera are given.
Goal:
Now I want to put a 2D overlay over the SCNScene. Previously this could be achieved using the overlaySKScene property of the SCNView. But now that in SwiftUI only the scene and camera are given I wonder how this can be achieved.
Thanks already in advance.