docs.unity.cn
    Show / Hide Table of Contents

    Operator Equality

    Equality(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
    Boolean

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

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023