docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Operator operator &

    operator &(bool2x2, bool2x2)

    Returns the result of a componentwise bitwise and operation on two bool2x2 matrices.

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

    Left hand side bool2x2 to use to compute componentwise bitwise and.

    bool2x2 rhs

    Right hand side bool2x2 to use to compute componentwise bitwise and.

    Returns
    Type Description
    bool2x2

    bool2x2 result of the componentwise bitwise and.

    operator &(bool2x2, bool)

    Returns the result of a componentwise bitwise and operation on a bool2x2 matrix and a bool value.

    Declaration
    public static bool2x2 operator &(bool2x2 lhs, bool rhs)
    Parameters
    Type Name Description
    bool2x2 lhs

    Left hand side bool2x2 to use to compute componentwise bitwise and.

    bool rhs

    Right hand side bool to use to compute componentwise bitwise and.

    Returns
    Type Description
    bool2x2

    bool2x2 result of the componentwise bitwise and.

    operator &(bool, bool2x2)

    Returns the result of a componentwise bitwise and operation on a bool value and a bool2x2 matrix.

    Declaration
    public static bool2x2 operator &(bool lhs, bool2x2 rhs)
    Parameters
    Type Name Description
    bool lhs

    Left hand side bool to use to compute componentwise bitwise and.

    bool2x2 rhs

    Right hand side bool2x2 to use to compute componentwise bitwise and.

    Returns
    Type Description
    bool2x2

    bool2x2 result of the componentwise bitwise and.

    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)