docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct ARPlaneBoundaryChangedEventArgs

    Data associated with an boundaryChanged event.

    Implements
    IEquatable<ARPlaneBoundaryChangedEventArgs>
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.XR.ARFoundation
    Assembly: Unity.XR.ARFoundation.dll
    Syntax
    public struct ARPlaneBoundaryChangedEventArgs : IEquatable<ARPlaneBoundaryChangedEventArgs>

    Constructors

    ARPlaneBoundaryChangedEventArgs(ARPlane)

    Constructor for plane changed events. This is normally only used by the ARPlane component for boundaryChanged events.

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

    The ARPlane that triggered the event.

    Exceptions
    Type Condition
    ArgumentNullException

    Thrown if plane is null.

    Properties

    plane

    The ARPlane which triggered the event.

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

    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 ARPlaneBoundaryChangedEventArgs and Equals(ARPlaneBoundaryChangedEventArgs) also returns true; otherwise false.

    Overrides
    ValueType.Equals(object)

    Equals(ARPlaneBoundaryChangedEventArgs)

    Tests for equality.

    Declaration
    public bool Equals(ARPlaneBoundaryChangedEventArgs other)
    Parameters
    Type Name Description
    ARPlaneBoundaryChangedEventArgs other

    The other ARPlaneBoundaryChangedEventArgs to compare against.

    Returns
    Type Description
    bool

    True if every field in other is equal to this ARPlaneBoundaryChangedEventArgs, 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()

    ToString()

    Generates a string representation fo this ARPlaneBoundaryChangedEventArgs.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string representation fo this ARPlaneBoundaryChangedEventArgs.

    Overrides
    ValueType.ToString()

    Operators

    operator ==(ARPlaneBoundaryChangedEventArgs, ARPlaneBoundaryChangedEventArgs)

    Tests for equality. Same as Equals(ARPlaneBoundaryChangedEventArgs).

    Declaration
    public static bool operator ==(ARPlaneBoundaryChangedEventArgs lhs, ARPlaneBoundaryChangedEventArgs rhs)
    Parameters
    Type Name Description
    ARPlaneBoundaryChangedEventArgs lhs

    The left-hand side of the comparison.

    ARPlaneBoundaryChangedEventArgs rhs

    The right-hand side of the comparison.

    Returns
    Type Description
    bool

    True if lhs is equal to rhs, otherwise false.

    operator !=(ARPlaneBoundaryChangedEventArgs, ARPlaneBoundaryChangedEventArgs)

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

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

    The left-hand side of the comparison.

    ARPlaneBoundaryChangedEventArgs 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)