docs.unity.cn
    Show / Hide Table of Contents

    Operator BitwiseAnd

    BitwiseAnd(bool4x2, bool4x2)

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

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

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

    bool4x2 rhs

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

    Returns
    Type Description
    bool4x2

    bool4x2 result of the componentwise bitwise and.

    BitwiseAnd(bool4x2, Boolean)

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

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

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

    Boolean rhs

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

    Returns
    Type Description
    bool4x2

    bool4x2 result of the componentwise bitwise and.

    BitwiseAnd(Boolean, bool4x2)

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

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

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

    bool4x2 rhs

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

    Returns
    Type Description
    bool4x2

    bool4x2 result of the componentwise bitwise and.

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