docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Operator operator !=

    operator !=(XRRaycastHit, XRRaycastHit)

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

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

    The left-hand side of the comparison.

    XRRaycastHit rhs

    The right-hand side of the comparison.

    Returns
    Type Description
    bool

    True if lhs is not equal to rhs, otherwise false.

    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)