Class ARCoreFaceSubsystem
The ARCore implementation of the XRFaceSubsystem. Do not create this directly. Use the SubsystemManager instead.
Inheritance
XRFaceSubsystem
ARCoreFaceSubsystem
Implements
Inherited Members
XRFaceSubsystem.requestedMaximumFaceCount
XRFaceSubsystem.currentMaximumFaceCount
XRFaceSubsystem.supportedFaceCount
SubsystemWithProvider<XRFaceSubsystem, XRFaceSubsystemDescriptor, XRFaceSubsystem.Provider>.OnCreate()
SubsystemWithProvider<XRFaceSubsystem, XRFaceSubsystemDescriptor, XRFaceSubsystem.Provider>.OnStart()
SubsystemWithProvider<XRFaceSubsystem, XRFaceSubsystemDescriptor, XRFaceSubsystem.Provider>.OnStop()
SubsystemWithProvider<XRFaceSubsystem, XRFaceSubsystemDescriptor, XRFaceSubsystem.Provider>.OnDestroy()
SubsystemWithProvider<XRFaceSubsystem, XRFaceSubsystemDescriptor, XRFaceSubsystem.Provider>.subsystemDescriptor
SubsystemWithProvider<XRFaceSubsystem, XRFaceSubsystemDescriptor, XRFaceSubsystem.Provider>.provider
SubsystemWithProvider.OnStart()
SubsystemWithProvider.OnStop()
SubsystemWithProvider.OnDestroy()
Namespace: UnityEngine.XR.ARCore
Assembly: Unity.XR.ARCore.dll
Syntax
[Preserve]
public class ARCoreFaceSubsystem : XRFaceSubsystem, ISubsystem
Methods
GetRegionPoses(TrackableId, Allocator, ref NativeArray<ARCoreFaceRegionData>)
Gets all the available ARCoreFaceRegions.
Declaration
public void GetRegionPoses(TrackableId trackableId, Allocator allocator, ref NativeArray<ARCoreFaceRegionData> regions)
Parameters
Type | Name | Description |
---|---|---|
TrackableId | trackableId | The id associated with the face to query. |
Allocator | allocator | The allocator to use if |
NativeArray<ARCoreFaceRegionData> | regions | An array of ARCoreFaceRegionDatas. If |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | Thrown if |
InvalidOperationException | Thrown if |