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

    Struct ARPlaneAddedEventArgs

    Holds data relevant to plane added events.

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

    Constructors

    ARPlaneAddedEventArgs(ARPlane)

    Constructor invoked by the ARPlaneManager which triggered the event.

    Declaration
    public ARPlaneAddedEventArgs(ARPlane plane)
    Parameters
    Type Name Description
    ARPlane plane

    The ARPlane component that was added.

    Properties

    plane

    The ARPlane component that was added.

    Declaration
    public ARPlane plane { get; }
    Property Value
    Type Description
    ARPlane

    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(ARPlaneAddedEventArgs)

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

    GetHashCode()

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

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.ValueType.ToString()

    Operators

    Equality(ARPlaneAddedEventArgs, ARPlaneAddedEventArgs)

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

    Inequality(ARPlaneAddedEventArgs, ARPlaneAddedEventArgs)

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