Class ARCoreFaceSubsystem
Implementation of XRFaceSubsystem for ARCore. Do not create this directly. Use the SubsystemManager instead.
Namespace: UnityEngine.XR.ARCore
Syntax
[Preserve]
public class ARCoreFaceSubsystem : XRFaceSubsystem
Methods
CreateProvider()
Declaration
protected override Provider CreateProvider()
Returns
| Type | Description |
|---|---|
| UnityEngine.XR.Provider |
GetRegionPoses(TrackableId, Allocator, ref NativeArray<ARCoreFaceRegionData>)
Get 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 |