docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Operator operator ^

    operator ^(bool3, bool3)

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

    bool3 rhs

    Right hand side bool3 to use to compute componentwise bitwise exclusive or.

    Returns
    Type Description
    bool3

    bool3 result of the componentwise bitwise exclusive or.

    operator ^(bool3, bool)

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

    bool rhs

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

    Returns
    Type Description
    bool3

    bool3 result of the componentwise bitwise exclusive or.

    operator ^(bool, bool3)

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

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

    Left hand side bool to use to compute componentwise bitwise exclusive or.

    bool3 rhs

    Right hand side bool3 to use to compute componentwise bitwise exclusive or.

    Returns
    Type Description
    bool3

    bool3 result of the componentwise bitwise exclusive or.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)