Struct ARFaceAddedEventArgs | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Struct ARFaceAddedEventArgs

    Holds data relevant to face added events.

    Inherited Members
    System.ValueType.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    Namespace: UnityEngine.XR.ARFoundation
    Syntax
    public struct ARFaceAddedEventArgs : IEquatable<ARFaceAddedEventArgs>

    Constructors

    ARFaceAddedEventArgs(ARFace)

    Constructor invoked by the ARFaceManager which triggered the event.

    Declaration
    public ARFaceAddedEventArgs(ARFace face)
    Parameters
    Type Name Description
    ARFace face

    The ARFace component that was added.

    Properties

    face

    The ARFace component that was added.

    Declaration
    public ARFace face { get; }
    Property Value
    Type Description
    ARFace

    Methods

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    Overrides
    System.ValueType.Equals(System.Object)

    Equals(ARFaceAddedEventArgs)

    Declaration
    public bool Equals(ARFaceAddedEventArgs other)
    Parameters
    Type Name Description
    ARFaceAddedEventArgs other
    Returns
    Type Description
    System.Boolean

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.ValueType.GetHashCode()

    Operators

    Equality(ARFaceAddedEventArgs, ARFaceAddedEventArgs)

    Declaration
    public static bool operator ==(ARFaceAddedEventArgs lhs, ARFaceAddedEventArgs rhs)
    Parameters
    Type Name Description
    ARFaceAddedEventArgs lhs
    ARFaceAddedEventArgs rhs
    Returns
    Type Description
    System.Boolean

    Inequality(ARFaceAddedEventArgs, ARFaceAddedEventArgs)

    Declaration
    public static bool operator !=(ARFaceAddedEventArgs lhs, ARFaceAddedEventArgs rhs)
    Parameters
    Type Name Description
    ARFaceAddedEventArgs lhs
    ARFaceAddedEventArgs rhs
    Returns
    Type Description
    System.Boolean
    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