docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method GetHashCode

    GetHashCode(Quaternion)

    Serves as the default hash function.

    Declaration
    public int GetHashCode(Quaternion quaternion)
    Parameters
    Type Name Description
    Quaternion quaternion

    A not null Quaternion

    Returns
    Type Description
    int

    Returns 0

    Implements
    IEqualityComparer<T>.GetHashCode(T)
    In This Article
    Back to top
    Copyright © 2023 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)