Class XRFaceSubsystem
An abstract class that provides a generic API for low-level face tracking features.
Inheritance
Implements
Inherited Members
Namespace: UnityEngine .XR.ARSubsystems
Assembly: solution.dll
Syntax
public class XRFaceSubsystem : TrackingSubsystem<XRFace, XRFaceSubsystem, XRFaceSubsystemDescriptor, XRFaceSubsystem.Provider>, ISubsystem
Remarks
Use this class to access face tracking features in your app via accessing the generic API. You can also extend it to provide an implementation of a provider which provides the face tracking data to the higher-level code.
Constructors
Name | Description |
---|---|
XRFace |
Constructs a face subsystem. Do not invoked directly; call |
Properties
Name | Description |
---|---|
current |
Get the maximum number of faces the provider will simultaneously track. |
requested |
Get or set the maximum number of faces to track simultaneously. |
supported |
Get the number of faces the subsystem is able to track simultaneously in its current configuration. |
Methods
Name | Description |
---|---|
Get |
Get the changes to faces (added, updated, and removed) since the last call to Get |
Get |
Get the mesh data associated with the face with |