Class XRFaceSubsystemDescriptor
The descriptor of the XRFaceSubsystem that shows which face tracking features are available on that XRSubsystem.
Inheritance
XRFaceSubsystemDescriptor
Implements
Inherited Members
SubsystemDescriptorWithProvider<XRFaceSubsystem, XRFaceSubsystem.Provider>.Create()
SubsystemDescriptorWithProvider.providerType
SubsystemDescriptorWithProvider.subsystemTypeOverride
Namespace: UnityEngine.XR.ARSubsystems
Assembly: solution.dll
Syntax
public class XRFaceSubsystemDescriptor : SubsystemDescriptorWithProvider<XRFaceSubsystem, XRFaceSubsystem.Provider>, ISubsystemDescriptor
Remarks
Use the Create
factory method along with FaceSubsystemParams struct to construct and
register one of these from each face tracking data provider.
Properties
Name | Description |
---|---|
supportsEyeTracking | Whether the subsystem supports eye tracking for each detected face. |
supportsFaceMeshNormals | Whether the subsystem supports normals for each face mesh. |
supportsFaceMeshUVs | Whether the subsystem supports texture coordinates for each face mesh. |
supportsFaceMeshVerticesAndIndices | Whether the subsystem supports face meshes and can produce vertices and triangle indices that represent a face mesh. |
supportsFacePose | Whether the subsystem can produce a |
Methods
Name | Description |
---|---|
Create(FaceSubsystemParams) | Creates a subsystem descriptor. Used to register an implementation of the XRFaceSubsystem. |