docs.unity.cn
    Show / Hide Table of Contents

    Operator BitwiseOr

    BitwiseOr(bool4x2, bool4x2)

    Returns the result of a componentwise bitwise or 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 or.

    bool4x2 rhs

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

    Returns
    Type Description
    bool4x2

    bool4x2 result of the componentwise bitwise or.

    BitwiseOr(bool4x2, Boolean)

    Returns the result of a componentwise bitwise or 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 or.

    Boolean rhs

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

    Returns
    Type Description
    bool4x2

    bool4x2 result of the componentwise bitwise or.

    BitwiseOr(Boolean, bool4x2)

    Returns the result of a componentwise bitwise or 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 or.

    bool4x2 rhs

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

    Returns
    Type Description
    bool4x2

    bool4x2 result of the componentwise bitwise or.

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