This extension enables applications to get weights of blend shapes. It also enables applications to render facial expressions in XR experiences.
Face tracking data is sensitive personal information and is closely linked to personal privacy and integrity. It is strongly recommended that applications storing or transferring face tracking data always ask the user for active and specific acceptance to do so.
If a runtime supports a permission system to control application access to the face tracker, then the runtime must set the isValid field to FALSE on the supplied XrFaceExpressionStatusFB structure until the user allows the application to access the face tracker. When the application access has been allowed, the runtime may set isValid on the supplied XrFaceExpressionStatusFB structure to TRUE.
Some permission systems may control access to the eye tracking separately from access to the face tracking, even though the eyes are part of the face. In case the user denied tracking of the eyes, yet, allowed tracking of the face, then the runtime must set the isEyeFollowingBlendshapesValid field to FALSE on the supplied XrFaceExpressionStatusFB for indicating that eye tracking data is not available, but at the same time may set the isValid field to TRUE on the supplied XrFaceExpressionStatusFB for indicating that another part of the face is tracked properly.
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static int | nxrCreateFaceTrackerFB(XrSession session, long createInfo, long faceTracker)
Unsafe version of: |
| public static int | nxrGetFaceExpressionWeightsFB(XrFaceTrackerFB faceTracker, long expressionInfo, long expressionWeights)
Unsafe version of: |
| public static int | xrCreateFaceTrackerFB(XrSession
an session, XrFaceTrackerCreateInfoFB XrSession in which the face tracker will be active.the createInfo, PointerBuffer XrFaceTrackerCreateInfoFB used to specify the face tracker.the returned faceTracker)XrFaceTrackerFB handle.Create a face tracking handle. |
| public static int | xrDestroyFaceTrackerFB(XrFaceTrackerFB
an faceTracker)XrFaceTrackerFB previously created by CreateFaceTrackerFB.Destroy a facial expressions handle. |
| public static int | xrGetFaceExpressionWeightsFB(XrFaceTrackerFB
an faceTracker, XrFaceExpressionInfoFB XrFaceTrackerFB previously created by CreateFaceTrackerFB.a pointer to expressionInfo, XrFaceExpressionWeightsFB XrFaceExpressionInfoFB describing information to obtain face expression.a pointer to expressionWeights)XrFaceExpressionWeightsFB receiving the returned facial expression weights.Obtain blend shapes of facial expression. |