I think that you need to use the reconstruction of the scene to get the mesh of the surrounding
https://developer.apple.com/documentation/visionos/applying-mesh-to-real-world-surroundings
Regards
Topic:
Spatial Computing
SubTopic:
ARKit
Tags: