docs.unity3d.com
    Show / Hide Table of Contents

    Class XRFaceSubsystemDescriptor

    The descriptor of the XRFaceSubsystem that shows which face tracking features are available on that XRSubsystem.

    Inheritance
    Object
    UnityEngine.SubsystemsImplementation.SubsystemDescriptorWithProvider
    UnityEngine.SubsystemsImplementation.SubsystemDescriptorWithProvider<XRFaceSubsystem, XRFaceSubsystem.Provider>
    XRFaceSubsystemDescriptor
    Inherited Members
    UnityEngine.SubsystemsImplementation.SubsystemDescriptorWithProvider<UnityEngine.XR.ARSubsystems.XRFaceSubsystem, UnityEngine.XR.ARSubsystems.XRFaceSubsystem.Provider>.Create()
    UnityEngine.SubsystemsImplementation.SubsystemDescriptorWithProvider.UnityEngine.ISubsystemDescriptor.Create()
    UnityEngine.SubsystemsImplementation.SubsystemDescriptorWithProvider.id
    UnityEngine.SubsystemsImplementation.SubsystemDescriptorWithProvider.providerType
    UnityEngine.SubsystemsImplementation.SubsystemDescriptorWithProvider.subsystemTypeOverride
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.XR.ARSubsystems
    Syntax
    public class XRFaceSubsystemDescriptor : SubsystemDescriptorWithProvider<XRFaceSubsystem, XRFaceSubsystem.Provider>, ISubsystemDescriptor
    Remarks

    Use the Create factory method along with FaceSubsystemParams struct to construct and register one of these from each face tracking data provider.

    Properties

    supportsEyeTracking

    Whether the subsystem supports eye tracking for each detected face.

    Declaration
    public bool supportsEyeTracking { get; }
    Property Value
    Type Description
    Boolean

    supportsFaceMeshNormals

    Whether the subsystem supports normals for each face mesh.

    Declaration
    public bool supportsFaceMeshNormals { get; }
    Property Value
    Type Description
    Boolean

    supportsFaceMeshUVs

    Whether the subsystem supports texture coordinates for each face mesh.

    Declaration
    public bool supportsFaceMeshUVs { get; }
    Property Value
    Type Description
    Boolean

    supportsFaceMeshVerticesAndIndices

    Whether the subsystem supports face meshes and can produce vertices and triangle indices that represent a face mesh.

    Declaration
    public bool supportsFaceMeshVerticesAndIndices { get; }
    Property Value
    Type Description
    Boolean

    supportsFacePose

    Whether the subsystem can produce a Pose for each detected face.

    Declaration
    public bool supportsFacePose { get; }
    Property Value
    Type Description
    Boolean

    Methods

    Create(FaceSubsystemParams)

    Creates a subsystem descriptor. Used to register an implementation of the XRFaceSubsystem.

    Declaration
    public static void Create(FaceSubsystemParams descriptorParams)
    Parameters
    Type Name Description
    FaceSubsystemParams descriptorParams

    Parameters describing the XRFaceSubsystem.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023