RealityViewCameraContent
The content of a reality view that is displayed through a camera.
Declaration
struct RealityViewCameraContentOverview
On iOS, RealityViewCameraContent displays content in an AR camera view by default, and can display in a “non-AR” mode when requested or when AR or the device’s camera is unavailable. On macOS, RealityViewCameraContent always displays its content in a non-AR mode.
You can use RealityViewCameraContent to add and remove entities, subscribe to RealityKit events, configure the AR environment, and perform coordinate conversions such as projections and raycasts between the RealityView space and a SwiftUI View coordinate space.