Share via


IBodyIndexFrameReader::AcquireLatestFrame Method

Gets the most recent body index frame.

Syntax

public:
HRESULT AcquireLatestFrame(
         IBodyIndexFrame **bodyIndexFrame
)

Parameters

  • bodyIndexFrame
    Type: IBodyIndexFrame
    [out] The most recent body index frame.

Return value

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

Requirements

Header: kinect.h

Library: kinect20.lib