docs.unity.cn
    Show / Hide Table of Contents

    Method Equals

    Equals(half)

    Returns true if the half is bitwise equivalent to a given half, false otherwise.

    Declaration
    public bool Equals(half rhs)
    Parameters
    Type Name Description
    half rhs

    Right hand side half value to use in comparison.

    Returns
    Type Description
    Boolean

    True if the half value is bitwise equivalent to the input, false otherwise.

    Equals(Object)

    Returns true if the half is equal to a given half, false otherwise.

    Declaration
    public override bool Equals(object o)
    Parameters
    Type Name Description
    Object o

    Right hand side object to use in comparison.

    Returns
    Type Description
    Boolean

    True if the object is of type half and is bitwise equivalent, false otherwise.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Tuesday, March 29, 2022
    Terms of use