docs.unity3d.com
    目次を表示する/隠す

    Class ARKitFaceSubsystem

    The ARKit implementation of the XRFaceSubsystem. Do not create this directly. Use the SubsystemManager instead.

    Inheritance
    Object
    TrackingSubsystem<XRFace, XRFaceSubsystem, XRFaceSubsystemDescriptor, XRFaceSubsystem.Provider>
    XRFaceSubsystem
    ARKitFaceSubsystem
    Inherited Members
    XRFaceSubsystem.GetChanges(Allocator)
    XRFaceSubsystem.GetFaceMesh(TrackableId, Allocator, XRFaceMesh)
    XRFaceSubsystem.requestedMaximumFaceCount
    XRFaceSubsystem.currentMaximumFaceCount
    XRFaceSubsystem.supportedFaceCount
    TrackingSubsystem<XRFace, XRFaceSubsystem, XRFaceSubsystemDescriptor, XRFaceSubsystem.Provider>.GetChanges(Allocator)
    Namespace: UnityEngine.XR.ARKit
    Syntax
    [Preserve]
    public class ARKitFaceSubsystem : XRFaceSubsystem

    Methods

    GetBlendShapeCoefficients(TrackableId, Allocator)

    Gets 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 TrackableId associated with the face to query.

    Allocator allocator

    The allocator to use for the returned NativeArray.

    Returns
    Type Description
    NativeArray<ARKitBlendShapeCoefficient>

    A new NativeArray allocated with allocator describing the blend shapes for the face with id faceId. The caller owns the NativeArray and is responsible for calling Dispose on it.

    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)