IBodyFrame::GetAndRefreshBodyData Method

Gets refreshed body data.

Syntax

public:
HRESULT GetAndRefreshBodyData(
         UINT capacity,
         IBody **bodies
)

Parameters

  • capacity
    Type: UINT
    The size of the body data.
  • bodies
    Type: IBody
    [in, out] Refreshed body data.

Return value

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

Requirements

Header: kinect.h

Library: kinect20.lib