XRDepthInformation interface contains information about the distance from the user's device to the real-world geometry in the user's environment.
This interface is the parent of:
Depth information from the CPU (returned by
Depth information from WebGL (returned by
You will usually interact with these child interfaces. However,
XRDepthInformation provides some useful properties that are inherited: