# hash

> Returns a uint hash code of an AffineTransform.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Mathematics](/engine/6000.5/script-reference/unity/mathematics.md)
* **Assembly:** UnityEngine.MathematicsModule

## hash(AffineTransform)

Returns a uint hash code of an AffineTransform.

```csharp
public static uint hash(AffineTransform a)
```

### Parameters

**** (\[AffineTransform]\(/engine/6000.5/script-reference/unity/mathematics/affinetransform)): The AffineTransform to hash.

### Returns

| Type                                                         | Description                                 |
| ------------------------------------------------------------ | ------------------------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | The hash code of the input AffineTransform. |

## hash(bool2)

Returns a uint hash code of a bool2 vector.

```csharp
public static uint hash(bool2 v)
```

### Parameters

**** (\[bool2]\(/engine/6000.5/script-reference/unity/mathematics/bool2)): Vector value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(bool2x2)

Returns a uint hash code of a bool2x2 matrix.

```csharp
public static uint hash(bool2x2 v)
```

### Parameters

**** (\[bool2x2]\(/engine/6000.5/script-reference/unity/mathematics/bool2x2)): Matrix value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(bool2x3)

Returns a uint hash code of a bool2x3 matrix.

```csharp
public static uint hash(bool2x3 v)
```

### Parameters

**** (\[bool2x3]\(/engine/6000.5/script-reference/unity/mathematics/bool2x3)): Matrix value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(bool2x4)

Returns a uint hash code of a bool2x4 matrix.

```csharp
public static uint hash(bool2x4 v)
```

### Parameters

**** (\[bool2x4]\(/engine/6000.5/script-reference/unity/mathematics/bool2x4)): Matrix value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(bool3)

Returns a uint hash code of a bool3 vector.

```csharp
public static uint hash(bool3 v)
```

### Parameters

**** (\[bool3]\(/engine/6000.5/script-reference/unity/mathematics/bool3)): Vector value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(bool3x2)

Returns a uint hash code of a bool3x2 matrix.

```csharp
public static uint hash(bool3x2 v)
```

### Parameters

**** (\[bool3x2]\(/engine/6000.5/script-reference/unity/mathematics/bool3x2)): Matrix value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(bool3x3)

Returns a uint hash code of a bool3x3 matrix.

```csharp
public static uint hash(bool3x3 v)
```

### Parameters

**** (\[bool3x3]\(/engine/6000.5/script-reference/unity/mathematics/bool3x3)): Matrix value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(bool3x4)

Returns a uint hash code of a bool3x4 matrix.

```csharp
public static uint hash(bool3x4 v)
```

### Parameters

**** (\[bool3x4]\(/engine/6000.5/script-reference/unity/mathematics/bool3x4)): Matrix value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(bool4)

Returns a uint hash code of a bool4 vector.

```csharp
public static uint hash(bool4 v)
```

### Parameters

**** (\[bool4]\(/engine/6000.5/script-reference/unity/mathematics/bool4)): Vector value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(bool4x2)

Returns a uint hash code of a bool4x2 matrix.

```csharp
public static uint hash(bool4x2 v)
```

### Parameters

**** (\[bool4x2]\(/engine/6000.5/script-reference/unity/mathematics/bool4x2)): Matrix value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(bool4x3)

Returns a uint hash code of a bool4x3 matrix.

```csharp
public static uint hash(bool4x3 v)
```

### Parameters

**** (\[bool4x3]\(/engine/6000.5/script-reference/unity/mathematics/bool4x3)): Matrix value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(bool4x4)

Returns a uint hash code of a bool4x4 matrix.

```csharp
public static uint hash(bool4x4 v)
```

### Parameters

**** (\[bool4x4]\(/engine/6000.5/script-reference/unity/mathematics/bool4x4)): Matrix value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(double2)

Returns a uint hash code of a double2 vector.

```csharp
public static uint hash(double2 v)
```

### Parameters

**** (\[double2]\(/engine/6000.5/script-reference/unity/mathematics/double2)): Vector value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(double2x2)

Returns a uint hash code of a double2x2 matrix.

```csharp
public static uint hash(double2x2 v)
```

### Parameters

**** (\[double2x2]\(/engine/6000.5/script-reference/unity/mathematics/double2x2)): Matrix value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(double2x3)

Returns a uint hash code of a double2x3 matrix.

```csharp
public static uint hash(double2x3 v)
```

### Parameters

**** (\[double2x3]\(/engine/6000.5/script-reference/unity/mathematics/double2x3)): Matrix value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(double2x4)

Returns a uint hash code of a double2x4 matrix.

```csharp
public static uint hash(double2x4 v)
```

### Parameters

**** (\[double2x4]\(/engine/6000.5/script-reference/unity/mathematics/double2x4)): Matrix value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(double3)

Returns a uint hash code of a double3 vector.

```csharp
public static uint hash(double3 v)
```

### Parameters

**** (\[double3]\(/engine/6000.5/script-reference/unity/mathematics/double3)): Vector value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(double3x2)

Returns a uint hash code of a double3x2 matrix.

```csharp
public static uint hash(double3x2 v)
```

### Parameters

**** (\[double3x2]\(/engine/6000.5/script-reference/unity/mathematics/double3x2)): Matrix value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(double3x3)

Returns a uint hash code of a double3x3 matrix.

```csharp
public static uint hash(double3x3 v)
```

### Parameters

**** (\[double3x3]\(/engine/6000.5/script-reference/unity/mathematics/double3x3)): Matrix value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(double3x4)

Returns a uint hash code of a double3x4 matrix.

```csharp
public static uint hash(double3x4 v)
```

### Parameters

**** (\[double3x4]\(/engine/6000.5/script-reference/unity/mathematics/double3x4)): Matrix value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(double4)

Returns a uint hash code of a double4 vector.

```csharp
public static uint hash(double4 v)
```

### Parameters

**** (\[double4]\(/engine/6000.5/script-reference/unity/mathematics/double4)): Vector value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(double4x2)

Returns a uint hash code of a double4x2 matrix.

```csharp
public static uint hash(double4x2 v)
```

### Parameters

**** (\[double4x2]\(/engine/6000.5/script-reference/unity/mathematics/double4x2)): Matrix value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(double4x3)

Returns a uint hash code of a double4x3 matrix.

```csharp
public static uint hash(double4x3 v)
```

### Parameters

**** (\[double4x3]\(/engine/6000.5/script-reference/unity/mathematics/double4x3)): Matrix value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(double4x4)

Returns a uint hash code of a double4x4 matrix.

```csharp
public static uint hash(double4x4 v)
```

### Parameters

**** (\[double4x4]\(/engine/6000.5/script-reference/unity/mathematics/double4x4)): Matrix value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(float2)

Returns a uint hash code of a float2 vector.

```csharp
public static uint hash(float2 v)
```

### Parameters

**** (\[float2]\(/engine/6000.5/script-reference/unity/mathematics/float2)): Vector value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(float2x2)

Returns a uint hash code of a float2x2 matrix.

```csharp
public static uint hash(float2x2 v)
```

### Parameters

**** (\[float2x2]\(/engine/6000.5/script-reference/unity/mathematics/float2x2)): Matrix value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(float2x3)

Returns a uint hash code of a float2x3 matrix.

```csharp
public static uint hash(float2x3 v)
```

### Parameters

**** (\[float2x3]\(/engine/6000.5/script-reference/unity/mathematics/float2x3)): Matrix value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(float2x4)

Returns a uint hash code of a float2x4 matrix.

```csharp
public static uint hash(float2x4 v)
```

### Parameters

**** (\[float2x4]\(/engine/6000.5/script-reference/unity/mathematics/float2x4)): Matrix value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(float3)

Returns a uint hash code of a float3 vector.

```csharp
public static uint hash(float3 v)
```

### Parameters

**** (\[float3]\(/engine/6000.5/script-reference/unity/mathematics/float3)): Vector value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(float3x2)

Returns a uint hash code of a float3x2 matrix.

```csharp
public static uint hash(float3x2 v)
```

### Parameters

**** (\[float3x2]\(/engine/6000.5/script-reference/unity/mathematics/float3x2)): Matrix value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(float3x3)

Returns a uint hash code of a float3x3 matrix.

```csharp
public static uint hash(float3x3 v)
```

### Parameters

**** (\[float3x3]\(/engine/6000.5/script-reference/unity/mathematics/float3x3)): Matrix value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(float3x4)

Returns a uint hash code of a float3x4 matrix.

```csharp
public static uint hash(float3x4 v)
```

### Parameters

**** (\[float3x4]\(/engine/6000.5/script-reference/unity/mathematics/float3x4)): Matrix value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(float4)

Returns a uint hash code of a float4 vector.

```csharp
public static uint hash(float4 v)
```

### Parameters

**** (\[float4]\(/engine/6000.5/script-reference/unity/mathematics/float4)): Vector value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(float4x2)

Returns a uint hash code of a float4x2 matrix.

```csharp
public static uint hash(float4x2 v)
```

### Parameters

**** (\[float4x2]\(/engine/6000.5/script-reference/unity/mathematics/float4x2)): Matrix value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(float4x3)

Returns a uint hash code of a float4x3 matrix.

```csharp
public static uint hash(float4x3 v)
```

### Parameters

**** (\[float4x3]\(/engine/6000.5/script-reference/unity/mathematics/float4x3)): Matrix value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(float4x4)

Returns a uint hash code of a float4x4 matrix.

```csharp
public static uint hash(float4x4 v)
```

### Parameters

**** (\[float4x4]\(/engine/6000.5/script-reference/unity/mathematics/float4x4)): Matrix value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(half)

Returns a uint hash code of a half value.

```csharp
public static uint hash(half v)
```

### Parameters

**** (\[half]\(/engine/6000.5/script-reference/unity/mathematics/half)): The half value to hash.

### Returns

| Type                                                         | Description                               |
| ------------------------------------------------------------ | ----------------------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | The computed hash code of the half value. |

## hash(half2)

Returns a uint hash code of a half2 vector.

```csharp
public static uint hash(half2 v)
```

### Parameters

**** (\[half2]\(/engine/6000.5/script-reference/unity/mathematics/half2)): Vector value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(half3)

Returns a uint hash code of a half3 vector.

```csharp
public static uint hash(half3 v)
```

### Parameters

**** (\[half3]\(/engine/6000.5/script-reference/unity/mathematics/half3)): Vector value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(half4)

Returns a uint hash code of a half4 vector.

```csharp
public static uint hash(half4 v)
```

### Parameters

**** (\[half4]\(/engine/6000.5/script-reference/unity/mathematics/half4)): Vector value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(int2)

Returns a uint hash code of a int2 vector.

```csharp
public static uint hash(int2 v)
```

### Parameters

**** (\[int2]\(/engine/6000.5/script-reference/unity/mathematics/int2)): Vector value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(int2x2)

Returns a uint hash code of a int2x2 matrix.

```csharp
public static uint hash(int2x2 v)
```

### Parameters

**** (\[int2x2]\(/engine/6000.5/script-reference/unity/mathematics/int2x2)): Matrix value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(int2x3)

Returns a uint hash code of a int2x3 matrix.

```csharp
public static uint hash(int2x3 v)
```

### Parameters

**** (\[int2x3]\(/engine/6000.5/script-reference/unity/mathematics/int2x3)): Matrix value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(int2x4)

Returns a uint hash code of a int2x4 matrix.

```csharp
public static uint hash(int2x4 v)
```

### Parameters

**** (\[int2x4]\(/engine/6000.5/script-reference/unity/mathematics/int2x4)): Matrix value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(int3)

Returns a uint hash code of a int3 vector.

```csharp
public static uint hash(int3 v)
```

### Parameters

**** (\[int3]\(/engine/6000.5/script-reference/unity/mathematics/int3)): Vector value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(int3x2)

Returns a uint hash code of a int3x2 matrix.

```csharp
public static uint hash(int3x2 v)
```

### Parameters

**** (\[int3x2]\(/engine/6000.5/script-reference/unity/mathematics/int3x2)): Matrix value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(int3x3)

Returns a uint hash code of a int3x3 matrix.

```csharp
public static uint hash(int3x3 v)
```

### Parameters

**** (\[int3x3]\(/engine/6000.5/script-reference/unity/mathematics/int3x3)): Matrix value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(int3x4)

Returns a uint hash code of a int3x4 matrix.

```csharp
public static uint hash(int3x4 v)
```

### Parameters

**** (\[int3x4]\(/engine/6000.5/script-reference/unity/mathematics/int3x4)): Matrix value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(int4)

Returns a uint hash code of a int4 vector.

```csharp
public static uint hash(int4 v)
```

### Parameters

**** (\[int4]\(/engine/6000.5/script-reference/unity/mathematics/int4)): Vector value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(int4x2)

Returns a uint hash code of a int4x2 matrix.

```csharp
public static uint hash(int4x2 v)
```

### Parameters

**** (\[int4x2]\(/engine/6000.5/script-reference/unity/mathematics/int4x2)): Matrix value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(int4x3)

Returns a uint hash code of a int4x3 matrix.

```csharp
public static uint hash(int4x3 v)
```

### Parameters

**** (\[int4x3]\(/engine/6000.5/script-reference/unity/mathematics/int4x3)): Matrix value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(int4x4)

Returns a uint hash code of a int4x4 matrix.

```csharp
public static uint hash(int4x4 v)
```

### Parameters

**** (\[int4x4]\(/engine/6000.5/script-reference/unity/mathematics/int4x4)): Matrix value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(void\*, int, uint)

Returns a uint hash from a block of memory using the xxhash32 algorithm. Can only be used in an unsafe context.

```csharp
public static uint hash(void* pBuffer, int numBytes, uint seed = 0)
```

### Parameters

**** (\[void\*]\(https\://learn.microsoft.com/dotnet/api/system.void)): A pointer to the beginning of the data.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): Number of bytes to hash.**** (\[uint]\(https\://learn.microsoft.com/dotnet/api/system.uint32)): Starting seed value.

### Returns

| Type                                                         | Description                               |
| ------------------------------------------------------------ | ----------------------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | The 32 bit hash of the input data buffer. |

## hash(quaternion)

Returns a uint hash code of a quaternion.

```csharp
public static uint hash(quaternion q)
```

### Parameters

**** (\[quaternion]\(/engine/6000.5/script-reference/unity/mathematics/quaternion)): The quaternion to hash.

### Returns

| Type                                                         | Description                             |
| ------------------------------------------------------------ | --------------------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | The hash code for the input quaternion. |

## hash(RigidTransform)

Returns a uint hash code of a RigidTransform.

```csharp
public static uint hash(RigidTransform t)
```

### Parameters

**** (\[RigidTransform]\(/engine/6000.5/script-reference/unity/mathematics/rigidtransform)): The RigidTransform to hash.

### Returns

| Type                                                         | Description                               |
| ------------------------------------------------------------ | ----------------------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | The hash code of the input RigidTransform |

## hash(uint2)

Returns a uint hash code of a uint2 vector.

```csharp
public static uint hash(uint2 v)
```

### Parameters

**** (\[uint2]\(/engine/6000.5/script-reference/unity/mathematics/uint2)): Vector value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(uint2x2)

Returns a uint hash code of a uint2x2 matrix.

```csharp
public static uint hash(uint2x2 v)
```

### Parameters

**** (\[uint2x2]\(/engine/6000.5/script-reference/unity/mathematics/uint2x2)): Matrix value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(uint2x3)

Returns a uint hash code of a uint2x3 matrix.

```csharp
public static uint hash(uint2x3 v)
```

### Parameters

**** (\[uint2x3]\(/engine/6000.5/script-reference/unity/mathematics/uint2x3)): Matrix value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(uint2x4)

Returns a uint hash code of a uint2x4 matrix.

```csharp
public static uint hash(uint2x4 v)
```

### Parameters

**** (\[uint2x4]\(/engine/6000.5/script-reference/unity/mathematics/uint2x4)): Matrix value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(uint3)

Returns a uint hash code of a uint3 vector.

```csharp
public static uint hash(uint3 v)
```

### Parameters

**** (\[uint3]\(/engine/6000.5/script-reference/unity/mathematics/uint3)): Vector value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(uint3x2)

Returns a uint hash code of a uint3x2 matrix.

```csharp
public static uint hash(uint3x2 v)
```

### Parameters

**** (\[uint3x2]\(/engine/6000.5/script-reference/unity/mathematics/uint3x2)): Matrix value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(uint3x3)

Returns a uint hash code of a uint3x3 matrix.

```csharp
public static uint hash(uint3x3 v)
```

### Parameters

**** (\[uint3x3]\(/engine/6000.5/script-reference/unity/mathematics/uint3x3)): Matrix value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(uint3x4)

Returns a uint hash code of a uint3x4 matrix.

```csharp
public static uint hash(uint3x4 v)
```

### Parameters

**** (\[uint3x4]\(/engine/6000.5/script-reference/unity/mathematics/uint3x4)): Matrix value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(uint4)

Returns a uint hash code of a uint4 vector.

```csharp
public static uint hash(uint4 v)
```

### Parameters

**** (\[uint4]\(/engine/6000.5/script-reference/unity/mathematics/uint4)): Vector value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(uint4x2)

Returns a uint hash code of a uint4x2 matrix.

```csharp
public static uint hash(uint4x2 v)
```

### Parameters

**** (\[uint4x2]\(/engine/6000.5/script-reference/unity/mathematics/uint4x2)): Matrix value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(uint4x3)

Returns a uint hash code of a uint4x3 matrix.

```csharp
public static uint hash(uint4x3 v)
```

### Parameters

**** (\[uint4x3]\(/engine/6000.5/script-reference/unity/mathematics/uint4x3)): Matrix value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |

## hash(uint4x4)

Returns a uint hash code of a uint4x4 matrix.

```csharp
public static uint hash(uint4x4 v)
```

### Parameters

**** (\[uint4x4]\(/engine/6000.5/script-reference/unity/mathematics/uint4x4)): Matrix value to hash.

### Returns

| Type                                                         | Description                |
| ------------------------------------------------------------ | -------------------------- |
| [uint](https://learn.microsoft.com/dotnet/api/system.uint32) | uint hash of the argument. |
