Share via


INuiSensor::NuiSkeletonTrackingDisable Method

Kinect for Windows 1.5, 1.6, 1.7, 1.8

Disables skeleton tracking.

Syntax

public:
HRESULT NuiSkeletonTrackingDisable(
         void
)

Parameters

  • **
    Type: void
    Unused

Return Value

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

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 NuiSensor.h; however, include NuiApi.h in your project.