Upgrade Note

This section contains upgrade notes for users from previous verions. Some versions may have deprecated APIs changes in plugin structure. If you are using Vive Hand Tracking plugin for the first time, you can safely skip this section.

v1.0.0 (Deprecated APIs)

Important

Skip this section if you start using Vive Hand Tracking SDK after v1.0.0.

Starting from v1.0.0, 2D/3D point modes are deprecated and will be removed in future. It’s recommended to use Skeleton modes on all platforms.

You can switch to skeleton mode by following changes:

  1. Change GestureOption::mode to use skeleton mode.
  2. Change all reference of GestureResult.joints[0] to GestureResult.position.

v0.10.0 (Deprecated APIs)

Important

Skip this section if you start using Vive Hand Tracking SDK after v0.10.0.

Starting from v0.10.0, some existing fields in GestureResult are deprecated:

  1. float points[21 * 3] is deprecated, please use GestureVector3 joints[21] instead.
    1. points[3 * i] now changed to joints[i].x.
    2. points[3 * i + 1] now changed to joints[i].y.
    3. points[3 * i + 2] now changed to joints[i].z.
  2. float pinchLevel is deprecated, please use GestureResult.pinch.pinchLevel instead.