Search Results for

    Show / Hide Table of Contents

    Method Equals

    Equals(Object)

    Returns a value that indicates whether the current instance is equal to a specified object.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj

    Object to make the comparison with.

    Returns
    Type Description
    System.Boolean

    true if the current instance is equal to the specified object; otherwise, false.

    Overrides
    System.ValueType.Equals(System.Object)

    Equals(Vector2)

    Returns a value that indicates whether the current instance is equal to the specified object.

    Declaration
    public bool Equals(Vector2 other)
    Parameters
    Type Name Description
    Vector2 other

    Object to make the comparison with.

    Returns
    Type Description
    System.Boolean

    true if the current instance is equal to the specified object; false otherwise.

    Implements
    System.IEquatable<T>.Equals(T)

    Equals(ref Vector2, ref Vector2)

    Determines whether the specified object instances are considered equal.

    Declaration
    public static bool Equals(ref Vector2 value1, ref Vector2 value2)
    Parameters
    Type Name Description
    Vector2 value1

    The first value to compare.

    Vector2 value2

    The second value to compare.

    Returns
    Type Description
    System.Boolean

    true if value1 is the same instance as value2 or if both are null references or if value1.Equals(value2) returns true; otherwise, false.

    ☀
    ☾
    Back to top Copyright (C) 2015 crosire - zlib
    Generated with DocFX