docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Operator operator !=

    operator !=(half2, half2)

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

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

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

    half2 rhs

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

    Returns
    Type Description
    bool2

    bool2 result of the componentwise not equal.

    operator !=(half2, half)

    Returns the result of a componentwise not equal operation on a half2 vector and a half value.

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

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

    half rhs

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

    Returns
    Type Description
    bool2

    bool2 result of the componentwise not equal.

    operator !=(half, half2)

    Returns the result of a componentwise not equal operation on a half value and a half2 vector.

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

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

    half2 rhs

    Right hand side half2 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)