Export (0) Print
Expand All

INuiSensor::NuiSkeletonSetTrackedSkeletons Method

Kinect for Windows 1.5, 1.6, 1.7, 1.8

Sets an array of identifiers (IDs) for skeleton tracking.

public:
HRESULT NuiSkeletonSetTrackedSkeletons(
         DWORD *TrackingIDs
)

Parameters

TrackingIDs
Type: DWORD
[in] A pointer to the first element in an array of tracking IDs, one for each skeleton.

Return Value

Type: HRESULT
Returns S_OK if successful; otherwise, returns one of the failure codes in the following table.
ErrorDescription
E_INVALIDARGThe value of the TrackingIDs parameter is NULL.
E_NUI_STREAM_NOT_ENABLEDKinect is not initialized or is not initialized with the NUI_INITIALIZE_FLAG_USES_SKELETON flag.
E_NUI_FEATURE_NOT_INITIALIZEDSkeletal tracking is not enabled with the NUI_SKELETON_TRACKING_FLAG_TITLE_SETS_TRACKED_SKELETONS flag.

Header: Declared in NuiSensor.h; however, include NuiApi.h in your project.

Community Additions

ADD
Show:
© 2014 Microsoft