Skip to main content
API Reference NianticSpatial.NSDK.AR.Occlusion NsdkOcclusionExtension

TryGetDepth


Declaration

public bool TryGetDepth(int screenX, int screenY, out float depth)

Parameters

NameTypeSummary
screenXint
The x position on the screen.
screenYint
The y position on the screen.
depthfloat
The resulting depth value.