IDepthFrameReader::AcquireLatestFrame Method
Gets the most recent depth frame.
Syntax
public:
HRESULT AcquireLatestFrame(
IDepthFrame **depthFrame
)
Parameters
- depthFrame
Type: IDepthFrame
[out] The most recent depth frame.
Return value
Type: HRESULT
Returns S_OK if successful; otherwise, returns a failure code.
Requirements
Header: kinect.h
Library: kinect20.lib