docs.unity.cn
    Show / Hide Table of Contents

    Operator BitwiseAnd

    BitwiseAnd(bool3, bool3)

    Returns the result of a componentwise bitwise and operation on two bool3 vectors.

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

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

    bool3 rhs

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

    Returns
    Type Description
    bool3

    bool3 result of the componentwise bitwise and.

    BitwiseAnd(bool3, Boolean)

    Returns the result of a componentwise bitwise and operation on a bool3 vector and a bool value.

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

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

    Boolean rhs

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

    Returns
    Type Description
    bool3

    bool3 result of the componentwise bitwise and.

    BitwiseAnd(Boolean, bool3)

    Returns the result of a componentwise bitwise and operation on a bool value and a bool3 vector.

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

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

    bool3 rhs

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

    Returns
    Type Description
    bool3

    bool3 result of the componentwise bitwise and.

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