Language

IDepthFrame::get_DepthMaxReliableDistance Method

Gets the maximum reliable depth of the depth frame.

Syntax

public:
HRESULT get_DepthMaxReliableDistance(
         USHORT *depthMaxReliableDistance
)

Parameters

  • depthMaxReliableDistance
    Type: USHORT
    [out] The maximum reliable depth of the depth frame.

Return value

Type: HRESULT
Returns S_OK if successful; otherwise, returns a failure code.

Requirements

Header: kinect.h

Library: kinect20.lib