docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Operator operator ==

    operator ==(uint2, uint2)

    Returns the result of a componentwise equality operation on two uint2 vectors.

    Declaration
    public static bool2 operator ==(uint2 lhs, uint2 rhs)
    Parameters
    Type Name Description
    uint2 lhs

    Left hand side uint2 to use to compute componentwise equality.

    uint2 rhs

    Right hand side uint2 to use to compute componentwise equality.

    Returns
    Type Description
    bool2

    bool2 result of the componentwise equality.

    operator ==(uint2, uint)

    Returns the result of a componentwise equality operation on a uint2 vector and a uint value.

    Declaration
    public static bool2 operator ==(uint2 lhs, uint rhs)
    Parameters
    Type Name Description
    uint2 lhs

    Left hand side uint2 to use to compute componentwise equality.

    uint rhs

    Right hand side uint to use to compute componentwise equality.

    Returns
    Type Description
    bool2

    bool2 result of the componentwise equality.

    operator ==(uint, uint2)

    Returns the result of a componentwise equality operation on a uint value and a uint2 vector.

    Declaration
    public static bool2 operator ==(uint lhs, uint2 rhs)
    Parameters
    Type Name Description
    uint lhs

    Left hand side uint to use to compute componentwise equality.

    uint2 rhs

    Right hand side uint2 to use to compute componentwise equality.

    Returns
    Type Description
    bool2

    bool2 result of the componentwise equality.

    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)