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