docs.unity.cn
    Show / Hide Table of Contents

    Operator BitwiseAnd

    BitwiseAnd(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.

    BitwiseAnd(bool2x2, Boolean)

    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.

    Boolean rhs

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

    Returns
    Type Description
    bool2x2

    bool2x2 result of the componentwise bitwise and.

    BitwiseAnd(Boolean, 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
    Boolean 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.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Tuesday, March 29, 2022
    Terms of use