Struct Hash128
Syntax
[Serializable]
public struct Hash128 : IEquatable<Hash128>, IComparable<Hash128>
Constructors
Hash128(String)
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)
Parameters
Type |
Name |
Description |
String |
value |
|
Hash128(UInt32, UInt32, UInt32, UInt32)
Declaration
public Hash128(uint x, uint y, uint z, uint w)
Parameters
Hash128(uint4)
Declaration
public Hash128(uint4 value)
Parameters
Type |
Name |
Description |
Unity.Mathematics.uint4 |
value |
|
Fields
Value
Declaration
Field Value
Type |
Description |
Unity.Mathematics.uint4 |
|
Properties
IsValid
Declaration
public readonly bool IsValid { get; }
Property Value
Methods
CompareTo(Hash128)
Declaration
public int CompareTo(Hash128 other)
Parameters
Type |
Name |
Description |
Hash128 |
other |
|
Returns
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
Equals(Hash128)
Declaration
public bool Equals(Hash128 obj)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
Equality(Hash128, Hash128)
Declaration
public static bool operator ==(Hash128 obj1, Hash128 obj2)
Parameters
Returns
GreaterThan(Hash128, Hash128)
Declaration
public static bool operator>(Hash128 a, Hash128 b)
Parameters
Returns
Inequality(Hash128, Hash128)
Declaration
public static bool operator !=(Hash128 obj1, Hash128 obj2)
Parameters
Returns
LessThan(Hash128, Hash128)
Declaration
public static bool operator <(Hash128 a, Hash128 b)
Parameters
Returns