docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Equals

    Equals(quaternion)

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

    Declaration
    public bool Equals(quaternion x)
    Parameters
    Type Name Description
    quaternion x

    The quaternion to compare with.

    Returns
    Type Description
    bool

    True if the quaternion is equal to the input, false otherwise.

    Implements
    IEquatable<T>.Equals(T)

    Equals(object)

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

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

    The object to compare with.

    Returns
    Type Description
    bool

    True if the quaternion is equal to the input, 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)