docs.unity3d.com
    Show / Hide Table of Contents

    Struct ARRaycastUpdatedEventArgs

    Provides arguments for the updated event.

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

    Properties

    raycast

    The raycast that has been updated.

    Declaration
    public ARRaycast raycast { readonly get; }
    Property Value
    Type Description
    ARRaycast

    Methods

    Equals(Object)

    Tests for equality.

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

    The object to compare with this object.

    Returns
    Type Description
    Boolean

    True if obj is an ARRaycastUpdatedEventArgs and Equals(ARRaycastUpdatedEventArgs) is true, otherwise false.

    Overrides
    ValueType.Equals(Object)

    Equals(ARRaycastUpdatedEventArgs)

    Tests for equality.

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

    The event args to compare for equality.

    Returns
    Type Description
    Boolean

    True if all properties are the same; false otherwise.

    Implements
    IEquatable<T>.Equals(T)

    GetHashCode()

    Computes a hash code from all properties suitable for use in a Dictionary or HashSet.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32

    A hashcode of this object.

    Overrides
    ValueType.GetHashCode()

    Operators

    Equality(ARRaycastUpdatedEventArgs, ARRaycastUpdatedEventArgs)

    Tests for equality. Same as Equals(ARRaycastUpdatedEventArgs).

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

    The left-hand side of the comparison.

    ARRaycastUpdatedEventArgs rhs

    The right-hand side of the comparison.

    Returns
    Type Description
    Boolean

    Same as Equals(ARRaycastUpdatedEventArgs)

    Inequality(ARRaycastUpdatedEventArgs, ARRaycastUpdatedEventArgs)

    Tests for inequality. Same as !Equals(ARRaycastUpdatedEventArgs)

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

    The left-hand side of the comparison.

    ARRaycastUpdatedEventArgs rhs

    The right-hand side of the comparison.

    Returns
    Type Description
    Boolean

    The negation of Equals(ARRaycastUpdatedEventArgs)

    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