There has been new released sample code and documentation on the ARKit 4.0 since WWDC2020.
Some resources are:
Creating a Fog Effect Using Scene Depth
Visualizing a Point Cloud Using Scene Depth
https://developer.apple.com/videos/play/wwdc2020/10611/
Post
Replies
Boosts
Views
Activity
Same question here. I havent find anything yet.