Method GetHashCode GetHashCode(Vector2) Serves as the default hash function. Declaration public int GetHashCode(Vector2 vec2) Parameters Type Name Description Vector2 vec2 A not null Vector2 object Returns Type Description int Returns 0 Implements IEqualityComparer<T>.GetHashCode(T)