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 |
---|---|
XRFaceSubsystem() | Constructs a face subsystem. Do not invoked directly; call |
Properties
Name | Description |
---|---|
currentMaximumFaceCount | Get the maximum number of faces the provider will simultaneously track. |
requestedMaximumFaceCount | Get or set the maximum number of faces to track simultaneously. |
supportedFaceCount | Get the number of faces the subsystem is able to track simultaneously in its current configuration. |
Methods
Name | Description |
---|---|
GetChanges(Allocator) | Get the changes to faces (added, updated, and removed) since the last call to GetChanges(Allocator). |
GetFaceMesh(TrackableId, Allocator, ref XRFaceMesh) | Get the mesh data associated with the face with |