RoomTrackingProvider
Tom mentioned it, so here's a little test of the sample code for the new visionOS 2.0 room tracking capability. The project demonstrates how to construct an ARKit session with a RoomTrackingProvider, which allows to check if any point in space is contained to the current room. The frequency of updates is great and improves over time (due to the refinement of the captured room). This creates many possibilities for navigation on space features, as well as optional triggers upon entering or exiting a location.