docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct ARRaycastUpdatedEventArgs

    Provides arguments for the updated event.

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

    Properties

    raycast

    The raycast that has been updated.

    Declaration
    public readonly ARRaycast raycast { 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
    bool

    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
    bool

    True if all properties are the same; false otherwise.

    GetHashCode()

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

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A hashcode of this object.

    Overrides
    ValueType.GetHashCode()

    Operators

    operator ==(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
    bool

    Same as Equals(ARRaycastUpdatedEventArgs)

    operator !=(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
    bool

    The negation of Equals(ARRaycastUpdatedEventArgs)

    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)