RealityViewContent
The content of a visionOS reality view.
Declaration
struct RealityViewContentOverview
Add content that you want your visionOS app to display to a RealityViewContent.
You can use RealityViewContent to add and remove entities, subscribe to RealityKit events, and perform coordinate conversions between RealityKit entity space and a SwiftUI View’s coordinate space.