Documentation

Unity Engine


Unity Engine


Hash128

Construct a hash from a 128-bit input value.
Read time 1 minuteLast updated 2 days ago

Definition

  • Type: Constructor
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule

Hash128(uint4)

Construct a hash from a 128-bit input value.
public Hash128(uint4 value)

Parameters

value

Value to hash.

Hash128(uint, uint, uint, uint)

Construct a hash from four 32-bit input values.
public Hash128(uint x, uint y, uint z, uint w)

Parameters

Value to hash.

Value to hash.

Value to hash.

Value to hash.

Hash128(string)

Construct a hash from a 32 character hex string
public Hash128(string value)

Parameters

value

32 character hex string.

Remarks

If the given string has the incorrect length or contains non-hex characters the Value will be all 0

Hash128(string, bool)

Construct a hash from a 32 character hex string If the string has the incorrect length or non-hex characters the Value will be all 0
public Hash128(string value, bool guidFormatted)

Parameters

value

32 character hex string.

guidFormatted

True, if the string value is formatted as a UnityEngine.GUID