@Vision Pro Engineer
Thanks for your response. Yes - I figured to add a corner radius to the entity itself, although I used the generatePlane(width: Float, height: Float, cornerRadius: Float = 0) API which seemed to generate a plane along the X-Y plane and eliminated the need to set the transform.
I would also like to add a SwiftUI overlay to the RealityView to display additional information over the image. What's a recommended approach to do this? This has the same problem as the clipShape modifier where the overlay is applied as a 2D view at the "back" of the RealityView and thus isn't visible. One approach I can think of is to put the overlay at the frontmost of the ZStack that contains the RealityView. The ZStack's depth should just be the same (or just a bit more) than the max z scale of the RealityView. However, I am unsure about the best way to calculate this depth value. Can you provide some guidance on this? Thanks!