Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


QuantisedMatrixHash(ref Matrix4x4, ref Hash128)

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

Definition

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

QuantisedMatrixHash(Matrix4x4, Hash128)

public static void QuantisedMatrixHash(ref Matrix4x4 value, ref Hash128 hash)

Parameters

The Matrix4x4 to hash.

hash

Hash128
The computed hash.

Remarks

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