docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Operator operator ==

    operator ==(int2x2, int2x2)

    Returns the result of a componentwise equality operation on two int2x2 matrices.

    Declaration
    public static bool2x2 operator ==(int2x2 lhs, int2x2 rhs)
    Parameters
    Type Name Description
    int2x2 lhs

    Left hand side int2x2 to use to compute componentwise equality.

    int2x2 rhs

    Right hand side int2x2 to use to compute componentwise equality.

    Returns
    Type Description
    bool2x2

    bool2x2 result of the componentwise equality.

    operator ==(int2x2, int)

    Returns the result of a componentwise equality operation on an int2x2 matrix and an int value.

    Declaration
    public static bool2x2 operator ==(int2x2 lhs, int rhs)
    Parameters
    Type Name Description
    int2x2 lhs

    Left hand side int2x2 to use to compute componentwise equality.

    int rhs

    Right hand side int to use to compute componentwise equality.

    Returns
    Type Description
    bool2x2

    bool2x2 result of the componentwise equality.

    operator ==(int, int2x2)

    Returns the result of a componentwise equality operation on an int value and an int2x2 matrix.

    Declaration
    public static bool2x2 operator ==(int lhs, int2x2 rhs)
    Parameters
    Type Name Description
    int lhs

    Left hand side int to use to compute componentwise equality.

    int2x2 rhs

    Right hand side int2x2 to use to compute componentwise equality.

    Returns
    Type Description
    bool2x2

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