The Android XR SDK is now available in Developer Preview. We want your feedback! Visit our
support page to reach out.
Stay organized with collections
Save and categorize content based on your preferences.
XRFaceState
This struct contains the blendshape parameter weights, current status of the face tracker and face joint poses.
Summary
Public attributes
|
ConfidenceRegions
|
float[]
Float values in the range 0 - 1 indicating the blendshape confidence of accuracy.
|
IsValid
|
bool
Is true if the data is valid even if it has not been provided in this frame.
|
Parameters
|
float[]
The vector of current blendshape parameters.
|
Timestamp
|
ulong
Capture time of the current face state data.
|
TrackingState
|
The current state of the face tracker.
|
Public attributes
ConfidenceRegions
float[] Google::XR::Extensions::XRFaceState::ConfidenceRegions
Float values in the range 0 - 1 indicating the blendshape confidence of accuracy.
IsValid
bool Google::XR::Extensions::XRFaceState::IsValid
Is true if the data is valid even if it has not been provided in this frame.
Parameters
float[] Google::XR::Extensions::XRFaceState::Parameters
The vector of current blendshape parameters.
Timestamp
ulong Google::XR::Extensions::XRFaceState::Timestamp
Capture time of the current face state data.
TrackingState
XRFaceTrackingStates Google::XR::Extensions::XRFaceState::TrackingState
The current state of the face tracker.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-05-08 UTC.
[null,null,["Last updated 2025-05-08 UTC."],[],[],null,["# XRFaceState Struct Reference\n\nXRFaceState\n===========\n\nThis struct contains the blendshape parameter weights, current status of the face tracker and face joint poses.\n\nSummary\n-------\n\n| ### Public attributes ||\n|-----------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------|\n| [ConfidenceRegions](#confidenceregions) | `float[]` Float values in the range 0 - 1 indicating the blendshape confidence of accuracy. |\n| [IsValid](#isvalid) | `bool` Is true if the data is valid even if it has not been provided in this frame. |\n| [Parameters](#parameters) | `float[]` The vector of current blendshape parameters. |\n| [Timestamp](#timestamp) | `ulong` Capture time of the current face state data. |\n| [TrackingState](#trackingstate) | [XRFaceTrackingStates](/develop/xr/unity/reference/namespace/Google/XR/Extensions#xrfacetrackingstates) The current state of the face tracker. |\n\nPublic attributes\n-----------------\n\n### ConfidenceRegions\n\n```c#\nfloat[] Google::XR::Extensions::XRFaceState::ConfidenceRegions\n``` \nFloat values in the range 0 - 1 indicating the blendshape confidence of accuracy. \n\n### IsValid\n\n```c#\nbool Google::XR::Extensions::XRFaceState::IsValid\n``` \nIs true if the data is valid even if it has not been provided in this frame. \n\n### Parameters\n\n```c#\nfloat[] Google::XR::Extensions::XRFaceState::Parameters\n``` \nThe vector of current blendshape parameters. \n\n### Timestamp\n\n```c#\nulong Google::XR::Extensions::XRFaceState::Timestamp\n``` \nCapture time of the current face state data. \n\n### TrackingState\n\n```c#\nXRFaceTrackingStates Google::XR::Extensions::XRFaceState::TrackingState\n``` \nThe current state of the face tracker."]]