docs.unity3d.com
Search Results for

    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
    bool

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

    Implements
    IEquatable<T>.Equals(T)

    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
    bool

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

    Overrides
    ValueType.Equals(object)
    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)