文档

Unity Engine

Unity Engine

QuantisedVectorHash(ref Vector3, ref Hash128)

Compute a Hash128 of a Vector3.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule

QuantisedVectorHash(Vector3, Hash128)

public static void QuantisedVectorHash(ref Vector3 value, ref Hash128 hash)

Parameters

value

The computed hash.

The Vector3 to hash.

Remarks

The Vector3 is quantized before the hashing with a step of 0.0005.