docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Operator operator !=

    operator !=(bool2, bool2)

    Returns the result of a componentwise not equal operation on two bool2 vectors.

    Declaration
    public static bool2 operator !=(bool2 lhs, bool2 rhs)
    Parameters
    Type Name Description
    bool2 lhs

    Left hand side bool2 to use to compute componentwise not equal.

    bool2 rhs

    Right hand side bool2 to use to compute componentwise not equal.

    Returns
    Type Description
    bool2

    bool2 result of the componentwise not equal.

    operator !=(bool2, bool)

    Returns the result of a componentwise not equal operation on a bool2 vector and a bool value.

    Declaration
    public static bool2 operator !=(bool2 lhs, bool rhs)
    Parameters
    Type Name Description
    bool2 lhs

    Left hand side bool2 to use to compute componentwise not equal.

    bool rhs

    Right hand side bool to use to compute componentwise not equal.

    Returns
    Type Description
    bool2

    bool2 result of the componentwise not equal.

    operator !=(bool, bool2)

    Returns the result of a componentwise not equal operation on a bool value and a bool2 vector.

    Declaration
    public static bool2 operator !=(bool lhs, bool2 rhs)
    Parameters
    Type Name Description
    bool lhs

    Left hand side bool to use to compute componentwise not equal.

    bool2 rhs

    Right hand side bool2 to use to compute componentwise not equal.

    Returns
    Type Description
    bool2

    bool2 result of the componentwise not equal.

    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)