Class ARKitFaceSubsystem
Namespace: UnityEngine.XR.ARKit
Syntax
public class ARKitFaceSubsystem : XRFaceSubsystem
Methods
CreateProvider()
Declaration
protected override IProvider CreateProvider()
Returns
| Type | Description |
|---|---|
| IProvider |
GetBlendShapeCoefficients(TrackableId, Allocator)
Get the blend shape coefficients for the face. Blend shapes describe a number of facial features on a scale of 0..1. For example, how closed is the left eye, how open is the mouth. See ARKitBlendShapeCoefficient for more details.
Declaration
public NativeArray<ARKitBlendShapeCoefficient> GetBlendShapeCoefficients(TrackableId faceId, Allocator allocator)
Parameters
| Type | Name | Description |
|---|---|---|
| TrackableId | faceId | The |
| Allocator | allocator | The allocator to use for the returned |
Returns
| Type | Description |
|---|---|
| NativeArray<ARKitBlendShapeCoefficient> | A new |