Common Interface
VIVE OpenXR Plugin provides common API interfaces. Some APIs are following the Khronos Official specifications and others are plugin-dependent but more convenient for use.
Hand Tracking
Official APIs
NOTE: All official (Khronos) APIs provided by VIVE OpenXR Plugin provide XrSession by default so you don't have to fill the XrSession.
- xrCreateHandTrackerEXT: An application can create an XrHandTrackerEXT handle using xrCreateHandTrackerEXT function.
- xrDestroyHandTrackerEXT: xrDestroyHandTrackerEXT function releases the handTracker and the underlying resources when finished with hand tracking experiences.
- xrLocateHandJointsEXT: The xrLocateHandJointsEXT function locates an array of hand joints to a base space at given time.
Plugin Dependent API
- GetJointLocations: A convenient function to retrieve the left/right hand joint location data. By using GetJointLocations function you don't have to use Hand Tracking Official APIs.
Facial Tracking
Official APIs
NOTE: All official (Khronos) APIs provided by VIVE OpenXR Plugin provide XrSession by default so you don't have to fill the XrSession.
- xrCreateFacialTrackerHTC: An application creates separate XrFacialTrackerHTC handles for eye tracker or lip tracker. This handle can be used to retrieve corresponding facial expressions using xrGetFacialExpressionsHTC function.
- xrDestroyFacialTrackerHTC: xrDestroyFacialTrackerHTC releases the facialTracker and the underlying resources when finished with facial tracking experiences.
- xrGetFacialExpressionsHTC: xrGetFacialExpressionsHTC retrieves an array of values of blend shapes for a facial expression on a given time.
Plugin Dependent API
- GetExpressionWeightings: Retrieves an array of values of blend shapes for a facial expression on a given time. By using GetExpressionWeightings function you don't have to use Facial Tracking Official APIs.