public int GetHashCode (Vector2 vec2);

Parameters

vec2要为其计算哈希代码的 Vector2 对象。

Returns

int 哈希代码。

Description

针对所有相等的 Vector2 对象返回相同哈希代码的哈希代码实现。