Class XRFaceSubsystem.Provider
Class to be implemented by an implementor of the XRFaceSubsystem.
Inherited Members
SubsystemProvider<XRFaceSubsystem>.TryInitialize()
SubsystemProvider<XRFaceSubsystem>.Start()
SubsystemProvider<XRFaceSubsystem>.Stop()
SubsystemProvider<XRFaceSubsystem>.Destroy()
SubsystemProvider.running
Namespace: UnityEngine.XR.ARSubsystems
Assembly: solution.dll
Syntax
public abstract class XRFaceSubsystem.Provider : SubsystemProvider<XRFaceSubsystem>
Properties
Name | Description |
---|---|
currentMaximumFaceCount | Gets the maximum number of faces the provider will track. |
requestedMaximumFaceCount | Get or set the maximum number of faces the subsystem should attempt to track simultaneously. Defaults to 1. |
supportedFaceCount | Should return the maximum number of faces the subsystem is able to track simultaneously. Defaults to 1. |
Methods
Name | Description |
---|---|
GetChanges(XRFace, Allocator) | Get the changes to faces (added, updated, and removed) since the last call to GetChanges(XRFace, Allocator). |
GetFaceMesh(TrackableId, Allocator, ref XRFaceMesh) | Get the mesh data associated with the face with |