docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class AndroidOpenXRFaceExtensions

    Contains extension methods for UnityEngine.XR.ARSubsystems.XRFace and UnityEngine.XR.ARFoundation.ARFace that are relevant to the Android XR platform.

    Inheritance
    object
    AndroidOpenXRFaceExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.XR.OpenXR.Features.Android
    Assembly: Unity.XR.AndroidOpenXR.dll
    Syntax
    public static class AndroidOpenXRFaceExtensions

    Methods

    TryGetAndroidOpenXRFaceTrackingStates(ARFace, out AndroidOpenXRFaceTrackingStates)

    Extension method to UnityEngine.XR.ARFoundation.ARFace that attempts to retrieve Android XR-specific face tracking state.

    Declaration
    public static bool TryGetAndroidOpenXRFaceTrackingStates(this ARFace arFace, out AndroidOpenXRFaceTrackingStates states)
    Parameters
    Type Name Description
    ARFace arFace

    UnityEngine.XR.ARFoundation.ARFace to get AndroidOpenXRFaceTrackingStates for.

    AndroidOpenXRFaceTrackingStates states

    AndroidOpenXRFaceTrackingStates to fill out with up-to-date data, if the method returns true.

    Returns
    Type Description
    bool

    Returns true if successful and state was filled out with up-to-date data, returns false otherwise.

    TryGetAndroidOpenXRFaceTrackingStates(XRFace, out AndroidOpenXRFaceTrackingStates)

    Extension method to UnityEngine.XR.ARSubsystems.XRFace that attempts to retrieve Android XR-specific face tracking state.

    Declaration
    public static bool TryGetAndroidOpenXRFaceTrackingStates(this XRFace xrFace, out AndroidOpenXRFaceTrackingStates states)
    Parameters
    Type Name Description
    XRFace xrFace

    UnityEngine.XR.ARSubsystems.XRFace to get AndroidOpenXRFaceTrackingStates for.

    AndroidOpenXRFaceTrackingStates states

    AndroidOpenXRFaceTrackingStates to fill out with up-to-date data, if the method returns true.

    Returns
    Type Description
    bool

    Returns true if successful and state was filled out with up-to-date data, returns false otherwise.

    In This Article
    Back to top
    Copyright © 2025 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)