Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


QuantisedVectorHash(ref Vector3, ref Hash128)

Compute a Hash128 of a Vector3.
Read time 1 minuteLast updated 5 days ago

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.