On this page←API Reference Return to API Reference index←packageNianticSpatial.NSDK.AR.Occlusion NianticSpatial.NSDK.AR.Occlusion←classNsdkOcclusionExtension NianticSpatial.NSDK.AR.Occlusion.NsdkOcclusionExtension Method TryGetDepth TryGetDepth Declaration public bool TryGetDepth(int screenX, int screenY, out float depth) Parameters NameTypeSummaryscreenXintThe x position on the screen.screenYintThe y position on the screen.depthfloatThe resulting depth value.