TryGetDepth
Returns the metric eye depth at the specified pixel coordinates.
Declaration
public bool TryGetDepth(int screenX, int screenY, out float depth)
Summary
Returns
Whether retrieving the depth value was successful.
Parameters
| Name | Type | Summary |
|---|---|---|
| screenX | int | The x position on the screen. |
| screenY | int | The y position on the screen. |
| depth | float | The resulting depth value. |
Returns the metric eye depth at the specified pixel coordinates.