[ Web Proxy ]
URL:
Viewing: https://docs.unity3d.com/ScriptReference/Unity.Mathematics.bool2-operator_bitwiseor.html [Back]  [Original]

Unity - Scripting API: Unity.Mathematics.bool2.operator |
Version: Unity 6.5 (6000.5)
    • Supported
    • Legacy
    LanguageEnglish
    • C#

    bool2.operator |

    Suggest a change

    Success!

    Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

    Close

    Submission failed

    For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

    Close
    Your name Your email Suggestion* Submit suggestion

    Cancel

    public static bool2 operator |(bool2 lhs, bool2 rhs);

    Parameters

    Parameter Description
    lhs Left hand side bool2 to use to compute componentwise bitwise or.
    rhs Right hand side bool2 to use to compute componentwise bitwise or.

    Returns

    bool2 bool2 result of the componentwise bitwise or.

    Description

    Returns the result of a componentwise bitwise or operation on two bool2 vectors.


    public static bool2 operator |(bool2 lhs, bool rhs);

    Parameters

    Parameter Description
    lhs Left hand side bool2 to use to compute componentwise bitwise or.
    rhs Right hand side bool to use to compute componentwise bitwise or.

    Returns

    bool2 bool2 result of the componentwise bitwise or.

    Description

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


    public static bool2 operator |(bool lhs, bool2 rhs);

    Parameters

    Parameter Description
    lhs Left hand side bool to use to compute componentwise bitwise or.
    rhs Right hand side bool2 to use to compute componentwise bitwise or.

    Returns

    bool2 bool2 result of the componentwise bitwise or.

    Description

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


    Web Proxy Viewer  |  New URL  |  Original Page