docs.unity.cn
    Show / Hide Table of Contents

    Class XRFaceSubsystemDescriptor

    Inheritance
    Object
    XRFaceSubsystemDescriptor
    Namespace: UnityEngine.XR.ARSubsystems
    Syntax
    public class XRFaceSubsystemDescriptor : SubsystemDescriptor<XRFaceSubsystem>

    Properties

    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 representing 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 © 2022 Unity Technologies
    Generated by DocFX
    on Friday, January 7, 2022
    Terms of use