Constructor Hash128
Hash128(uint4)
Construct a hash from a 128-bit input value.
Declaration
public Hash128(uint4 value)Parameters
| Type | Name | Description | 
|---|---|---|
| uint4 | value | Value to hash. | 
Hash128(uint, uint, uint, uint)
Construct a hash from four 32-bit input values.
Declaration
public Hash128(uint x, uint y, uint z, uint w)Parameters
| Type | Name | Description | 
|---|---|---|
| uint | x | Value to hash. | 
| uint | y | Value to hash. | 
| uint | z | Value to hash. | 
| uint | w | Value to hash. | 
Hash128(string)
Construct a hash from a 32 character hex string
Declaration
public Hash128(string value)Parameters
| Type | Name | Description | 
|---|---|---|
| string | 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
Declaration
public Hash128(string value, bool guidFormatted)Parameters
| Type | Name | Description | 
|---|---|---|
| string | value | 32 character hex string. | 
| bool | guidFormatted | True, if the string value is formatted as a UnityEngine.GUID |