docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct XRFaceSubsystemDescriptor.Cinfo

    This struct is an initializer for the creation of a XRFaceSubsystemDescriptor.

    Implements
    IEquatable<XRFaceSubsystemDescriptor.Cinfo>
    Inherited Members
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.XR.ARSubsystems
    Assembly: Unity.XR.ARSubsystems.dll
    Syntax
    public struct XRFaceSubsystemDescriptor.Cinfo : IEquatable<XRFaceSubsystemDescriptor.Cinfo>
    Remarks

    During InitializeOnLoad, the Face Tracking data provider should create a descriptor using the parameters here to specify which of the XRFaceSubsystem features it supports.

    Properties

    id

    The string identifier for a specific implementation.

    Declaration
    public string id { readonly get; set; }
    Property Value
    Type Description
    string

    providerType

    Specifies the provider implementation type to use for instantiation.

    Declaration
    public Type providerType { readonly get; set; }
    Property Value
    Type Description
    Type

    The provider implementation type to use for instantiation.

    subsystemTypeOverride

    Specifies the XRFaceSubsystem-derived type that forwards casted calls to its provider.

    Declaration
    public Type subsystemTypeOverride { readonly get; set; }
    Property Value
    Type Description
    Type

    The type of the subsystem to use for instantiation. If null, XRFaceSubsystem will be instantiated.

    supportsEyeTracking

    Whether the subsystem supports eye tracking for each detected face.

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

    supportsFaceMeshNormals

    Whether the subsystem supports normals for the face mesh.

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

    supportsFaceMeshUVs

    Whether the subsystem supports texture coordinates for the face mesh.

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

    supportsFaceMeshVerticesAndIndices

    Whether the subsystem supports getting vertices and triangle indices describing a face mesh.

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

    supportsFacePose

    Whether the subsystem supports getting a pose for the face.

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

    Methods

    Equals(object)

    Tests for equality.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj

    The object to compare against.

    Returns
    Type Description
    bool

    True if obj is of type XRFaceSubsystemDescriptor.Cinfo and Equals(Cinfo) also returns true; otherwise false.

    Overrides
    ValueType.Equals(object)

    Equals(Cinfo)

    Tests for equality.

    Declaration
    public bool Equals(XRFaceSubsystemDescriptor.Cinfo other)
    Parameters
    Type Name Description
    XRFaceSubsystemDescriptor.Cinfo other

    The other XRFaceSubsystemDescriptor.Cinfo to compare against.

    Returns
    Type Description
    bool

    True if every field in other is equal to this XRFaceSubsystemDescriptor.Cinfo, otherwise false.

    GetHashCode()

    Generates a hash suitable for use with containers like HashSet and Dictionary.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A hash code generated from this object's fields.

    Overrides
    ValueType.GetHashCode()

    Operators

    operator ==(Cinfo, Cinfo)

    Tests for equality. Same as Equals(Cinfo).

    Declaration
    public static bool operator ==(XRFaceSubsystemDescriptor.Cinfo lhs, XRFaceSubsystemDescriptor.Cinfo rhs)
    Parameters
    Type Name Description
    XRFaceSubsystemDescriptor.Cinfo lhs

    The left-hand side of the comparison.

    XRFaceSubsystemDescriptor.Cinfo rhs

    The right-hand side of the comparison.

    Returns
    Type Description
    bool

    True if lhs is equal to rhs, otherwise false.

    operator !=(Cinfo, Cinfo)

    Tests for inequality. Same as !Equals(Cinfo).

    Declaration
    public static bool operator !=(XRFaceSubsystemDescriptor.Cinfo lhs, XRFaceSubsystemDescriptor.Cinfo rhs)
    Parameters
    Type Name Description
    XRFaceSubsystemDescriptor.Cinfo lhs

    The left-hand side of the comparison.

    XRFaceSubsystemDescriptor.Cinfo rhs

    The right-hand side of the comparison.

    Returns
    Type Description
    bool

    True if lhs is not equal to rhs, otherwise false.

    Implements

    IEquatable<T>
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)