# NextUInt3

> Returns a uniformly random uint3 value with all components in the interval [0, 4294967294].

## Definition

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

## NextUInt3()

Returns a uniformly random uint3 value with all components in the interval \[0, 4294967294].

```csharp
public uint3 NextUInt3()
```

### Returns

| Type                                                                | Description               |
| ------------------------------------------------------------------- | ------------------------- |
| [uint3](/engine/6000.6/script-reference/unity/mathematics/uint3.md) | A uniformly random uint3. |

## NextUInt3(uint3)

Returns a uniformly random uint3 value with all components in the interval \[0, max).

```csharp
public uint3 NextUInt3(uint3 max)
```

### Parameters

**** (\[uint3]\(/engine/6000.6/script-reference/unity/mathematics/uint3)): The componentwise maximum value to generate, exclusive.

### Returns

| Type                                                                | Description                                      |
| ------------------------------------------------------------------- | ------------------------------------------------ |
| [uint3](/engine/6000.6/script-reference/unity/mathematics/uint3.md) | A uniformly random uint3 in the range \[0, max). |

## NextUInt3(uint3, uint3)

Returns a uniformly random uint3 value with all components in the interval \[min, max).

```csharp
public uint3 NextUInt3(uint3 min, uint3 max)
```

### Parameters

**** (\[uint3]\(/engine/6000.6/script-reference/unity/mathematics/uint3)): The componentwise minimum value to generate, inclusive.**** (\[uint3]\(/engine/6000.6/script-reference/unity/mathematics/uint3)): The componentwise maximum value to generate, exclusive.

### Returns

| Type                                                                | Description                                        |
| ------------------------------------------------------------------- | -------------------------------------------------- |
| [uint3](/engine/6000.6/script-reference/unity/mathematics/uint3.md) | A uniformly random uint3 in the range \[min, max). |
