You should be able to grab the depth data from an
ARFrame, there’s a
The session object will always have a
currentFrame property which references the current
If you need need it for shading, the tricky part will be converting that to something OpenGL compatible which may need more native code; I haven’t tried but I would imagine it’s something along the lines of what I had to do for the MetalCam class.