WVR_StopHandTracking¶
-
WVR_EXPORT void WVR_StopHandTracking(WVR_HandTrackerType type)
Use this function to stop the hand tracking that was started.
Use this API to stop hand tracking that you already started, and release related hand tracking resources. This API must be called by the main thread.
- Version
- API Level 6
- Parameters
type
: The type of hand tracker. Refer to WVR_HandTrackerType.
How to use¶
Sample function:
#include <wvr/wvr_hand.h>
if (WVR_StartHandTracking(WVR_HandTrackerType_Natural) == WVR_Success) {
//WVR_GetHandTrackingData
WVR_StopHandTracking(WVR_HandTrackerType_Natural);
} else {
// start hand tracking failed!
}