Share via


NuiSkeletonTrackingDisable

Kinect for Windows 1.5, 1.6, 1.7, 1.8

Disables skeleton tracking.

Syntax

HRESULT NuiSkeletonTrackingDisable()

Return Value

Type: HRESULT
Returns S_OK if successful; otherwise, returns one of the failure codes in the following table.

Error Description
ERROR_INVALID_OPERATION Kinect is not initialized or is not initialized with the NUI_INITIALIZE_FLAG_USES_SKELETON flag.

Requirements

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