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:
- Change
GestureOption::mode
to use skeleton mode. - Change all reference of
GestureResult.joints[0]
toGestureResult.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:
float points[21 * 3]
is deprecated, please useGestureVector3 joints[21]
instead.points[3 * i]
now changed tojoints[i].x
.points[3 * i + 1]
now changed tojoints[i].y
.points[3 * i + 2]
now changed tojoints[i].z
.
float pinchLevel
is deprecated, please useGestureResult.pinch
.pinchLevel
instead.