docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Operator operator ==

    | Improve this Doc View Source

    operator ==(half, half)

    Returns whether two half values are bitwise equivalent.

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

    Left hand side half value to use in comparison.

    half rhs

    Right hand side half value to use in comparison.

    Returns
    Type Description
    bool

    True if the two half values are bitwise equivalent, false otherwise.

    • Improve this Doc
    • View Source
    In This Article
    Back to top
    Copyright © 2026 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)