This implementation is achieved by setting the view as an attachment of Entity.
The way it is written may have changed depending on the version of Xcode beta, but I believe the same approach can be used.
https://github.com/satoshi0212/visionOS_30Days/blob/main/Day28/Day28/View/ImmersiveView.swift
Topic:
Graphics & Games
SubTopic:
RealityKit
Tags: