Generating HUD (Heads Up Display) within VisionOS on VisionPro

Is there a consistent way to generate a HUD (Heads Up Display) for a VIsionOS app? In either Shared Space or Full Space? If it is in Shared Space, I have not seen a way to do it, that does not involve creating a Window, with the HUD information in it. If so, would it be possible to move the window, as the user moves his head, so it is always viewable? If in Full Space mode, using Unity, I am sure you could create a HUD, but again I am not sure you could do it in using RealityKit.

Thought folks?

You can anchor to the head targeted AnchorEntity, which tracks the user’s head.

However some users, for accessibility reasons, rely on head movements to interact with items. You should provide an alternative when those flags are true.

Adding an SwiftUI view as an attachment in a RealityView should get you the UI you need. A previous response recommended an approach to positioning.

Generating HUD (Heads Up Display) within VisionOS on VisionPro
 
 
Q